Interface ElementBacked<ELEMENT extends Element>

All Superinterfaces:
ApiHolder, Modifiable
All Known Subinterfaces:
Annotation, Annotationable<ELEMENT>, AnnotationUsage, Class, Constructor, Declared, Enum, EnumConstant, Executable, Field, Generic, Interface, Method, Module, Package, Parameter, QualifiedNameable<ELEMENT>, Record, RecordComponent, Variable<SURROUNDING>
All Known Implementing Classes:
AnnotationUsageImpl, ClassImpl, DeclaredImpl, EnumConstantImpl, ExecutableImpl, FieldImpl, GenericImpl, InterfaceImpl, ModuleImpl, PackageImpl, ParameterImpl, RecordComponentImpl, RecordImpl, VariableImpl

public interface ElementBacked<ELEMENT extends Element> extends Modifiable, ApiHolder
The ShadowApi is transient to the java annotation processor api. meaning you can get the api used my this api. in this case Element
  • Method Details

    • getElement

      ELEMENT getElement()
    • getModifiers

      default Set<Modifier> getModifiers()
      Specified by:
      getModifiers in interface Modifiable
    • getModule

      default Module getModule()
      returns itself for a module
    • getSimpleName

      default String getSimpleName()
    • getJavaDoc

      default String getJavaDoc()
      returns the javaDoc or null if none is present
    • logError

      default void logError(String msg)
    • logInfo

      default void logInfo(String msg)
    • logWarning

      default void logWarning(String msg)