Package | Description |
---|---|
org.eclipse.jdt.core |
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
org.eclipse.jdt.core.refactoring.descriptors |
Application programming interface to access Java refactorings provided by JDT.
|
Modifier and Type | Class and Description |
---|---|
class |
SourceRange
A source range defines an element's source coordinates relative to
its source buffer.
|
Modifier and Type | Method and Description |
---|---|
ISourceRange |
IMember.getJavadocRange()
Returns the Javadoc range if this element is from source or if this element
is a binary element with an attached source, null otherwise.
|
ISourceRange |
ILocalVariable.getNameRange()
Returns the source range of this local variable's name.
|
ISourceRange |
ISourceReference.getNameRange()
Returns the name range associated with this element.
|
ISourceRange |
ISourceReference.getSourceRange()
Returns the source range associated with this element.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SourceRange.isAvailable(ISourceRange range)
Helper method that answers whether a valid source range is available
in the given ISourceRange.
|
Modifier and Type | Method and Description |
---|---|
static ASTNode |
NodeFinder.perform(ASTNode root,
ISourceRange range)
Maps a selection to an ASTNode, where the selection is defined using a source range.
|
Modifier and Type | Method and Description |
---|---|
void |
RenameLocalVariableDescriptor.setSelection(ISourceRange selection)
Deprecated.
Sets the selection within the compilation unit which references the local
variable to rename.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.