Example usage for Java org.eclipse.jdt.core ILocalVariable fields, constructors, methods, implement or subclass
The text is from its open source code.
IJavaElement | getAncestor(int ancestorType) Returns this Java element or the first ancestor of this element that has the given type. |
IAnnotation[] | getAnnotations() Returns the annotations for this element. |
IMember | getDeclaringMember() Returns the declaring member of this local variable. |
String | getElementName() Returns the name of this local variable. |
int | getFlags() Returns the modifier flags for this local variable. |
String | getHandleIdentifier() Returns a string representation of this element handle. |
IJavaElement | getParent() Returns the element directly containing this element, or null if this element has no parent. |
String | getTypeSignature() Returns the type signature of this local variable. |
IResource | getUnderlyingResource() Returns the smallest underlying resource that contains this element, or null if this element is not contained in a resource. |