org.sourceforge.jemm.client
Class FieldKey
java.lang.Object
org.sourceforge.jemm.client.FieldKey
public class FieldKey
- extends java.lang.Object
The unique key that identifies a field from a particular class.
All fields need to be keyed based on the declaring class as well as
the name, the combination of which uniquely defines any field.
- Author:
- Paul Keeble
Constructor Summary |
FieldKey(java.lang.Class<?> declaringClass,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FieldKey
public FieldKey(java.lang.Class<?> declaringClass,
java.lang.String name)
getName
public java.lang.String getName()
getClazz
public java.lang.Class<?> getClazz()
getClazzName
public java.lang.String getClazzName()
getField
public java.lang.reflect.Field getField()
throws java.lang.SecurityException,
java.lang.NoSuchFieldException
- Throws:
java.lang.SecurityException
java.lang.NoSuchFieldException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009. All Rights Reserved.