Package eu.bandm.tools.metajava
Interface MetaStaticImportable
- All Superinterfaces:
MetaImportable
- All Known Subinterfaces:
MetaField,MetaMethod,MetaStaticImportableMember
- All Known Implementing Classes:
EnvironmentField,EnvironmentMethod,GeneratedField,GeneratedMethod
Supertype of all entities that can appear in an
import static statement.-
Method Details
-
getImportPattern
- Specified by:
getImportPatternin interfaceMetaImportable- Returns:
- the full qualified name of this entity prefix with
"static "
-
getStaticImportPattern
String getStaticImportPattern()Returns the import pattern that specifies this entity, without the prefix"static ". -
isStatic
boolean isStatic()Checks whether this entity does actually have the modifierstatic. This method is for convenient use in assertions.- Returns:
trueif this entity has the modifierstatic
-