Package | Description |
---|---|
org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
Modifier and Type | Class and Description |
---|---|
class |
CompilationController
Class for explicit invocation of compilation phases on a java source.
|
class |
WorkingCopy
XXX: extends CompilationController now, finish method delegation
|
Modifier and Type | Method and Description |
---|---|
static CompilationInfo |
CompilationInfo.get(org.netbeans.modules.parsing.spi.Parser.Result result)
Returns an instance of the
CompilationInfo for
given Parser.Result if it is a result
of a java parser. |
Modifier and Type | Method and Description |
---|---|
protected abstract CancellableTask<CompilationInfo> |
JavaSourceTaskFactory.createTask(FileObject file)
Create task for a given file.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SourceUtils.checkTypesAssignable(CompilationInfo info,
TypeMirror from,
TypeMirror to) |
void |
CommentCollector.collect(TokenSequence<org.netbeans.api.java.lexer.JavaTokenId> ts,
CompilationInfo ci) |
static TreePathHandle |
TreePathHandle.create(Element element,
CompilationInfo info)
Factory method for creating
TreePathHandle . |
static TreePathHandle |
TreePathHandle.create(TreePath treePath,
CompilationInfo info)
Factory method for creating
TreePathHandle . |
static List<? extends Completion> |
SourceUtils.getAttributeValueCompletions(CompilationInfo info,
Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText)
Returns a list of completions for an annotation attribute value suggested by
annotation processors.
|
static String |
UiUtils.getHeader(Element element,
CompilationInfo info,
String formatString)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementHeaders#getHeader(javax.lang.model.element.Element, org.netbeans.api.java.source.CompilationInfo, java.lang.String)
of the org.netbeans.modules.java.sourceui module |
static String |
UiUtils.getHeader(TreePath treePath,
CompilationInfo info,
String formatString)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementHeaders#getHeader(com.sun.source.util.TreePath, org.netbeans.api.java.source.CompilationInfo, java.lang.String)
of the org.netbeans.modules.java.sourceui module |
T |
TypeMirrorHandle.resolve(CompilationInfo info)
Resolves an
TypeMirror from the TypeMirrorHandle . |
T |
ElementHandle.resolve(CompilationInfo compilationInfo)
Resolves an
Element from the ElementHandle . |
TreePath |
TreePathHandle.resolve(CompilationInfo compilationInfo)
Resolves an
TreePath from the TreePathHandle . |
Element |
TreePathHandle.resolveElement(CompilationInfo info)
Resolves an
Element from the TreePathHandle . |
static String |
SourceUtils.resolveImport(CompilationInfo info,
TreePath context,
String fqn)
Resolve full qualified name in the given context.
|
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.