public interface JavaMember
Base interface inherited by JavaField and JavaMethod.
This interface is modeled on java.lang.reflect.Member.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares the argument to the receiver, and answers true
if they represent the same object using a class
specific comparison.
|
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
|
String |
getName()
Get the name of the field or method
|
String |
getSignature()
Get the signature of the field or method
|
int |
hashCode()
Answers an integer hash code for the receiver.
|
int getModifiers() throws CorruptDataException
CorruptDataException
JavaClass getDeclaringClass() throws CorruptDataException, DataUnavailable
CorruptDataException
DataUnavailable
String getName() throws CorruptDataException
CorruptDataException
String getSignature() throws CorruptDataException
CorruptDataException
boolean equals(Object obj)
java.lang.Object
equals
in class Object
obj
- Object.hashCode()
int hashCode()
java.lang.Object
true
when passed to
.equals
must answer the same value for this
method.hashCode
in class Object
Object.equals(java.lang.Object)
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2004, 2025 IBM Corp. and others.