public class MemberInfoBase extends Object implements MemberInfo
| Constructor and Description |
|---|
MemberInfoBase(ClassInfo myClassInfo,
int modifiers,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
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).
|
int |
modifiers()
Return the modifiers on this member
|
ClassInfo |
myClassInfo()
Return the ClassInfo of the class that contains this
member.
|
String |
name()
Return the name of this member.
|
String |
toString() |
public ClassInfo myClassInfo()
MemberInfomyClassInfo in interface MemberInfopublic int modifiers()
MemberInfomodifiers in interface MemberInfopublic String name()
MemberInfoname in interface MemberInfopublic boolean isAccessibleInContext(ClassInfo definingClass, ClassInfo accessClass)
MemberInfoisAccessibleInContext in interface MemberInfodefiningClass - the ClassInfo of the class in which the access occurs.accessClass - the ClassInfo of the class used to access the member.Copyright © 2017 Oracle. All rights reserved.