Interface ElementUtils

    • Method Detail

      • getAllEnclosedExecutableElements

        List<ExecutableElement> getAllEnclosedExecutableElements​(TypeElement element)
        Finds all executable elements within the given type element, including executable elements defined in super classes and implemented interfaces. Methods defined in Object, implementations of Object.equals(Object) and private methods are ignored
        Parameters:
        element - the element to inspect
        Returns:
        the executable elements usable in the type
      • getAllEnclosedFields

        List<VariableElement> getAllEnclosedFields​(TypeElement element)
        Finds all variable elements within the given type element, including variable elements defined in super classes and implemented interfaces and including the fields in the .
        Parameters:
        element - the element to inspect
        Returns:
        the executable elements usable in the type