org.eclipse.jdt.internal.compiler.classfmt
Class ElementValuePairInfo

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.classfmt.ElementValuePairInfo
All Implemented Interfaces:
IBinaryElementValuePair

public class ElementValuePairInfo
extends Object
implements IBinaryElementValuePair


Method Summary
 boolean equals(Object obj)
           
 char[] getName()
           
 Object getValue()
          Return ClassSignature for a Class Class.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public char[] getName()
Specified by:
getName in interface IBinaryElementValuePair
Returns:
the name of the member

getValue

public Object getValue()
Description copied from interface: IBinaryElementValuePair
Return ClassSignature for a Class Class. Return Constant for compile-time constant of primitive type, as well as String literals. Return EnumConstantSignature if value is an enum constant. Return IBinaryAnnotation for annotation type. Return Object[] for array type.

Specified by:
getValue in interface IBinaryElementValuePair
Returns:
the value of this member value pair

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.