Example usage for Java org.eclipse.jdt.core.dom IVariableBinding fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object obj) There is no special definition of equality for bindings; equality is simply object identity. |
IAnnotationBinding[] | getAnnotations() Returns the resolved declaration annotations associated with this binding. |
Object | getConstantValue() Returns this binding's constant value if it has one. |
ITypeBinding | getDeclaringClass() Returns the type binding representing the class or interface that declares this field. |
IMethodBinding | getDeclaringMethod() Returns the method binding representing the method containing the scope in which this local variable is declared. |
IJavaElement | getJavaElement() Returns the Java element that corresponds to this binding. |
String | getKey() Returns the key for this binding. |
int | getModifiers() Returns the modifiers for this binding. |
String | getName() Returns the name of the field or local variable declared in this binding. |
ITypeBinding | getType() Returns the binding for the type of this field or local variable. |
IVariableBinding | getVariableDeclaration() Returns the binding for the variable declaration corresponding to this variable binding. |
int | getVariableId() Returns a small integer variable id for this variable binding. |
boolean | isDeprecated() Return whether this binding is for something that is deprecated. |
boolean | isEffectivelyFinal() Returns whether this binding corresponds to an effectively final local variable (JLS8 4.12.4). |
boolean | isEnumConstant() Returns whether this binding is for an enum constant. |
boolean | isEqualTo(IBinding binding) Returns whether this binding has the same key as that of the given binding. |
boolean | isField() Returns whether this binding is for a field. |
boolean | isParameter() Returns whether this binding corresponds to a parameter. |
boolean | isRecovered() Return whether this binding is created because the bindings recovery is enabled. |
boolean | isSynthetic() Returns whether this binding is synthetic. |
String | toString() Returns a string representation of this binding suitable for debugging purposes only. |