|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.squawk.Member
public abstract class Member
An instance of Member
encapsulates the information about the
method or field of a class.
Method Summary | |
---|---|
Klass |
getDefiningClass()
Gets the class that defined this field or method. |
String |
getFullyQualifiedName()
Gets the fully qualified name of this field or method. |
int |
getModifiers()
Gets the mask of access flags describing the access permissions and other properties of this member. |
String |
getName()
Gets the name of this field or method. |
int |
getOffset()
Gets the offset for the member. |
int |
hashCode()
Gets the hash code. |
boolean |
isAccessibleFrom(Klass klass)
Determines if this member is accessible from a given class. |
boolean |
isFinal()
Determines if this method or field is final. |
boolean |
isPackagePrivate()
Determines if this method or field is package private. |
boolean |
isPrivate()
Determines if this method or field is private. |
boolean |
isProtected()
Determines if this method or field is protected. |
boolean |
isPublic()
Determines if this method or field is public. |
boolean |
isSourceSynthetic()
Determines if this method or field does not appear in any source code. |
boolean |
isStatic()
Determines if this method or field is static. |
String |
toString()
Gets a String representation of this field or method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final boolean isPublic()
public final boolean isPackagePrivate()
public final boolean isStatic()
public final boolean isFinal()
public final boolean isProtected()
public final boolean isPrivate()
public final boolean isSourceSynthetic()
public final String getName()
public final String getFullyQualifiedName()
public final int getOffset()
Category | Meaning |
---|---|
static method | The index into the static method table of this class at which the implementation of the static method is located. |
virtual method | The index into the vtable of this class at which the implementation of the virtual method is located. |
static field | The offset (in words) from the address of the class's static field state at which the value of the static field is located. |
instance field | The type-related offset from the address of an instance of this
class at which the value of the instance field is located. For
byte or boolean fields, the offset is
in terms of bytes, for char or short
fields, the offset is in terms of half-words and for all other
fields, the offset is in terms of words (double
and long fields are expressed as a pair of words).
|
public final Klass getDefiningClass()
public final int getModifiers()
Modifier
.
public final String toString()
toString
in class Object
public final boolean isAccessibleFrom(Klass klass)
klass
- the class to test for accessibilitypublic int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
Hashtable
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |