java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ElementValuePair

public class ElementValuePair extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getValue

      public static Object getValue(Expression expression)
    • getName

      public char[] getName()
      Returns:
      the name of the element value pair.
    • getMethodBinding

      public MethodBinding getMethodBinding()
      Returns:
      the method binding that defined this member value pair or null if no such binding exists.
    • getValue

      public Object getValue()
      Return TypeBinding for member value of type Class Return Constant for member of primitive type or String Return FieldBinding for enum constant Return AnnotationBinding for annotation instance Return Object[] for member value of array type.
      Returns:
      the value of this member value pair or null if the value is missing or is not a compile-time constant
    • toString

      public String toString()
      Overrides:
      toString in class Object