|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaMember
Abstract interface which both JavaField and JavaMethod inherit from. It defines APIs which are common to both types of members. It is modelled on java.lang.reflect.Member
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
JavaClass |
getDeclaringClass()
Get the class which declares this field or method |
int |
getModifiers()
Get the set of modifiers for this field or method - a set of bits The values for the constants representing the modifiers can be obtained from Modifier . |
java.lang.String |
getName()
Get the name of the field or method |
java.lang.String |
getSignature()
Get the signature of the field or method |
int |
hashCode()
|
Method Detail |
---|
int getModifiers() throws CorruptDataException
Get the set of modifiers for this field or method - a set of bits
The values for the constants representing the modifiers can be obtained from Modifier
.
CorruptDataException
- if the underlying data is in an unexpected stateJavaClass getDeclaringClass() throws CorruptDataException, DataUnavailable
Get the class which declares this field or method
CorruptDataException
- if the underlying data is in an unexpected state
DataUnavailable
- if there is no declaring class availablejava.lang.String getName() throws CorruptDataException
Get the name of the field or method
CorruptDataException
- if the underlying data is in an unexpected statejava.lang.String getSignature() throws CorruptDataException
Get the signature of the field or method
CorruptDataException
- if the underlying data is in an unexpected stateboolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |