Interface ElementUtils

All Superinterfaces:
Elements
All Known Implementing Classes:
AbstractElementUtilsDecorator, EclipseElementUtilsDecorator, JavacElementUtilsDecorator

public interface ElementUtils extends Elements
  • Method Details

    • create

      static ElementUtils create(ProcessingEnvironment processingEnvironment, VersionInformation info, TypeElement mapperElement)
    • 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