Package org.codehaus.janino
Interface IClass.IMember
- All Known Implementing Classes:
IClass.IConstructor
,IClass.IField
,IClass.IInvocable
,IClass.IMethod
,ReflectionIClass.ReflectionIConstructor
,ReflectionIClass.ReflectionIField
,ReflectionIClass.ReflectionIMethod
,UnitCompiler.SimpleIField
- Enclosing class:
- IClass
public static interface IClass.IMember
Base for the members of an
IClass
. IClass.IMember
are expected to be immutable, i.e. all getter methods
return constant values.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getAccess
Access getAccess()- Returns:
- One of
Access.PRIVATE
,Access.PROTECTED
,Access.DEFAULT
andAccess.PUBLIC
.
-
getAnnotations
IClass.IAnnotation[] getAnnotations()- Returns:
- Modifiers and/or annotations of this member
-
getDeclaringIClass
IClass getDeclaringIClass()- Returns:
- The
IClass
that declares thisIClass.IMember
-