| Modifier and Type | Method and Description |
|---|---|
| public boolean | isAccessibleInContext(ClassInfo
the ClassInfo of the class in which the access occurs. definingClass, ClassInfo the ClassInfo of the class used to access the member. accessClass)Returns true iff this member is accessible in the context defined by definingClass (the class containing the reference to the member) and accessClass (the type of the expression used to access this member). |
| public int | |
| public ClassInfo | |
| public String |
| isAccessibleInContext | back to summary |
|---|---|
| public boolean isAccessibleInContext(ClassInfo definingClass, ClassInfo accessClass) Returns true iff this member is accessible in the context defined by definingClass (the class containing the reference to the member) and accessClass (the type of the expression used to access this member). This works as follows:
| |
| modifiers | back to summary |
|---|---|
| public int modifiers() Return the modifiers on this member | |
| myClassInfo | back to summary |
|---|---|
| public ClassInfo myClassInfo() Return the ClassInfo of the class that contains this member. | |
| name | back to summary |
|---|---|
| public String name() Return the name of this member. | |