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 | Method and Description |
---|---|
static IClassFile |
JavaCore.createClassFileFrom(IFile file)
Creates and returns a class file element for
the given
.class file. |
IClassFile |
IMember.getClassFile()
Returns the class file in which this member is declared, or
null
if this member is not declared in a class file (for example, a source type). |
IClassFile |
IPackageFragment.getClassFile(String name)
Returns the class file with the specified name
in this package (for example,
"Object.class" ). |
IClassFile[] |
IPackageFragment.getClassFiles()
Returns all of the class files in this package fragment.
|
Modifier and Type | Method and Description |
---|---|
static IClassFileReader |
ToolFactory.createDefaultClassFileReader(IClassFile classfile,
int decodingFlag)
Create a classfile reader onto a classfile Java element.
|
Modifier and Type | Method and Description |
---|---|
static CompilationUnit |
AST.parseCompilationUnit(IClassFile classFile,
boolean resolveBindings)
Deprecated.
Use
ASTParser instead. |
void |
ASTParser.setSource(IClassFile source)
Sets the source code to be parsed.
|
Modifier and Type | Method and Description |
---|---|
static void |
JavaElementLabels.getClassFileLabel(IClassFile classFile,
long flags,
StringBuffer buf)
Appends the label for a class file to a
StringBuffer . |
static void |
JavaElementLabels.getClassFileLabel(IClassFile classFile,
long flags,
StyledString result)
Appends the label for a class file to a
StyledString . |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.