Package eu.bandm.tools.metajava
Interface MetaStaticImportableMember
- All Superinterfaces:
MetaImportable
,MetaModifiable
,MetaStaticImportable
- All Known Subinterfaces:
MetaField
,MetaMethod
- All Known Implementing Classes:
EnvironmentField
,EnvironmentMethod
,GeneratedField
,GeneratedMethod
Supertype of all class members that can appear in an
import static
statement.-
Method Summary
Methods inherited from interface eu.bandm.tools.metajava.MetaModifiable
getModifiers
Methods inherited from interface eu.bandm.tools.metajava.MetaStaticImportable
getImportPattern
-
Method Details
-
getName
String getName() -
getEnclosingClass
MetaClass getEnclosingClass() -
getStaticImportPattern
Description copied from interface:MetaStaticImportable
Returns the import pattern that specifies this entity, without the prefix"static "
.- Specified by:
getStaticImportPattern
in interfaceMetaStaticImportable
-
isStatic
default boolean isStatic()Description copied from interface:MetaStaticImportable
Checks whether this entity does actually have the modifierstatic
. This method is for convenient use in assertions.- Specified by:
isStatic
in interfaceMetaStaticImportable
- Returns:
true
if this entity has the modifierstatic
-