Interface MetaStaticImportableMember

All Superinterfaces:
MetaImportable, MetaModifiable, MetaStaticImportable
All Known Subinterfaces:
MetaField, MetaMethod
All Known Implementing Classes:
EnvironmentField, EnvironmentMethod, GeneratedField, GeneratedMethod

public interface MetaStaticImportableMember extends MetaModifiable, MetaStaticImportable
Supertype of all class members that can appear in an import static statement.
  • Method Details

    • getName

      String getName()
    • getEnclosingClass

      MetaClass getEnclosingClass()
    • getStaticImportPattern

      default String getStaticImportPattern()
      Description copied from interface: MetaStaticImportable
      Returns the import pattern that specifies this entity, without the prefix "static ".
      Specified by:
      getStaticImportPattern in interface MetaStaticImportable
    • isStatic

      default boolean isStatic()
      Description copied from interface: MetaStaticImportable
      Checks whether this entity does actually have the modifier static. This method is for convenient use in assertions.
      Specified by:
      isStatic in interface MetaStaticImportable
      Returns:
      true if this entity has the modifier static