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
CorruptDataExceptionJavaClass getDeclaringClass() throws CorruptDataException, DataUnavailable
CorruptDataExceptionDataUnavailableString getName() throws CorruptDataException
CorruptDataExceptionString getSignature() throws CorruptDataException
CorruptDataExceptionboolean equals(Object obj)
java.lang.Objectequals in class Objectobj - Object.hashCode()int hashCode()
java.lang.Objecttrue when passed to
.equals must answer the same value for this
method.hashCode in class ObjectObject.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.