Interface JavaMember
- All Known Subinterfaces:
 JavaField, JavaMethod
- All Known Implementing Classes:
 DTFJJavaField, DTFJJavaFieldInstance, DTFJJavaFieldStatic, DTFJJavaMethod, JavaField, JavaInstanceField, JavaMethod, JavaStaticField, JCJavaMethod, PHDJavaMethod
public interface JavaMember
Base interface inherited by JavaField and JavaMethod.
This interface is modeled on java.lang.reflect.Member.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.Get the class which declares this field or methodintGet the set of modifiers for this field or method - a set of bitsgetName()Get the name of the field or methodGet the signature of the field or methodinthashCode()Answers an integer hash code for the receiver. 
- 
Method Details
- 
getModifiers
Get the set of modifiers for this field or method - a set of bits- Returns:
 - the modifiers for this field or method. The values for the constants representing the modifiers can be obtained from java.lang.reflect.Modifier.
 - Throws:
 CorruptDataException
 - 
getDeclaringClass
Get the class which declares this field or method- Returns:
 - the JavaClass which declared this field or method
 - Throws:
 CorruptDataExceptionDataUnavailable
 - 
getName
Get the name of the field or method- Returns:
 - the name of the field or method
 - Throws:
 CorruptDataException
 - 
getSignature
Get the signature of the field or method- Returns:
 - the signature of the field or method. e.g. "(Ljava/lang/String;)V"
 - Throws:
 CorruptDataException
 - 
equals
Description copied from class:java.lang.ObjectCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison. The implementation in Object answers true only if the argument is the exact same object as the receiver (==). - 
hashCode
int hashCode()Description copied from class:java.lang.ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method. 
 -