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.ui |
Application programming interfaces for interaction
with the Eclipse Java User Interface.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IClassFile
Represents an entire binary type (single
.class file). |
interface |
ICompilationUnit
Represents an entire Java compilation unit (source file with one of the
Java-like extensions ). |
Modifier and Type | Method and Description |
---|---|
ITypeRoot |
ILocalVariable.getTypeRoot()
Returns the Java type root in which this local variable is declared.
|
ITypeRoot |
ITypeParameter.getTypeRoot()
Returns the Java type root in which this type parameter is declared.
|
ITypeRoot |
IMember.getTypeRoot()
Returns the Java type root in which this member is declared.
|
Modifier and Type | Method and Description |
---|---|
ITypeRoot |
CompilationUnit.getTypeRoot()
The Java type root (a
compilation unit or a class file )
this compilation unit was created from, or null if it was not created from a Java type root. |
Modifier and Type | Method and Description |
---|---|
static ASTNode |
NodeFinder.perform(ASTNode root,
int start,
int length,
ITypeRoot source)
Maps a selection to an ASTNode, where the selection is given by a start and a length.
|
void |
ASTParser.setSource(ITypeRoot source)
Sets the source code to be parsed.
|
Modifier and Type | Method and Description |
---|---|
static ITypeRoot |
JavaUI.getEditorInputTypeRoot(IEditorInput editorInput)
Returns the
ITypeRoot wrapped by the given editor input. |
Modifier and Type | Method and Description |
---|---|
static CompilationUnit |
SharedASTProvider.getAST(ITypeRoot element,
SharedASTProvider.WAIT_FLAG waitFlag,
IProgressMonitor progressMonitor)
Returns a compilation unit AST for the given Java element.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.