Skip navigation links
org.netbeans.modules.java.source.base 2.56.0 6
A B C D E F G H I J K L M N O P Q R S T U V W 

C

cancel() - Method in interface org.netbeans.api.java.source.CancellableTask
After this method is called the task if running should exit the run method immediately.
cancel() - Method in class org.netbeans.api.java.source.matching.Matcher
 
cancel() - Method in class org.netbeans.api.java.source.support.CancellableTreePathScanner
 
cancel() - Method in class org.netbeans.api.java.source.support.CancellableTreeScanner
 
CancellableTask<P> - Interface in org.netbeans.api.java.source
Cancellable runnable which takes parameter of given type.
CancellableTreePathScanner<R,P> - Class in org.netbeans.api.java.source.support
 
CancellableTreePathScanner() - Constructor for class org.netbeans.api.java.source.support.CancellableTreePathScanner
Construct a new CancellableTreePathScanner which can be canceled by calling the CancellableTreePathScanner.cancel() method.
CancellableTreePathScanner(AtomicBoolean) - Constructor for class org.netbeans.api.java.source.support.CancellableTreePathScanner
Construct a new CancellableTreePath Scanner which can be canceled either by calling the CancellableTreePathScanner.cancel() method, or by setting true into the provided canceled AtomicBoolean.
CancellableTreeScanner<R,P> - Class in org.netbeans.api.java.source.support
 
CancellableTreeScanner() - Constructor for class org.netbeans.api.java.source.support.CancellableTreeScanner
Construct a new CancellableTreeScanner which can be canceled by calling the CancellableTreeScanner.cancel() method.
CancellableTreeScanner(AtomicBoolean) - Constructor for class org.netbeans.api.java.source.support.CancellableTreeScanner
Construct a new CancellableTreeScanner which can be canceled either by calling the CancellableTreeScanner.cancel() method, or by setting true into the provided canceled AtomicBoolean.
Case(ExpressionTree, List<? extends StatementTree>) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CaseTree.
Case(List<? extends ExpressionTree>, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CaseTree for a rule case (case <constants> -> <body>).
CaseMultipleLabels(List<? extends ExpressionTree>, List<? extends StatementTree>) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CaseTree.
CasePatterns(List<? extends Tree>, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CaseTree for a rule case (case <constants> -> <body>).
CasePatterns(List<? extends Tree>, List<? extends StatementTree>) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CaseTree.
Catch(VariableTree, BlockTree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CatchTree.
checkElement(CompilationInfo, T) - Static method in class org.netbeans.api.java.source.ScanUtils
Checks that the Element is valid, is not erroneous.
checkTypesAssignable(CompilationInfo, TypeMirror, TypeMirror) - Static method in class org.netbeans.api.java.source.SourceUtils
 
Class(ModifiersTree, CharSequence, List<? extends TypeParameterTree>, Tree, List<? extends Tree>, List<? extends Tree>) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new ClassTree.
CLASS_TREE_KINDS - Static variable in class org.netbeans.api.java.source.TreeUtilities
Tree.Kinds that are represented by ClassTree.
ClassIndex - Class in org.netbeans.api.java.source
The ClassIndex provides access to information stored in the persistent index.
ClassIndex.NameKind - Enum in org.netbeans.api.java.source
ClassIndex.ResourceType - Enum in org.netbeans.api.java.source
ClassIndex.SearchKind - Enum in org.netbeans.api.java.source
ClassIndex.SearchScope - Enum in org.netbeans.api.java.source
Default predefined ClassIndex.SearchScopeTypes
ClassIndex.SearchScopeType - Interface in org.netbeans.api.java.source
Scope used by ClassIndex to search in
ClassIndex.Symbols - Class in org.netbeans.api.java.source
Description of found symbols (methods, constructors, fields) for one enclosing type.
ClassIndexListener - Interface in org.netbeans.api.java.source
Listener for changes in ClassIndex.
ClasspathInfo - Class in org.netbeans.api.java.source
Class which contains info about classpath
ClasspathInfo.Builder - Class in org.netbeans.api.java.source
Builder for ClasspathInfo.
ClasspathInfo.PathKind - Enum in org.netbeans.api.java.source
 
ClasspathInfo.Provider - Interface in org.netbeans.api.java.source
Interface for Tasks that want to provide ClasspathInfo.
Code(TextTree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates the DocTree's LiteralTree for a verbatim code.
CodeStyle - Class in org.netbeans.api.java.source
XXX make sure the getters get the defaults from somewhere XXX add support for profiles XXX get the preferences node from somewhere else in odrer to be able not to use the getters and to be able to write to it.
CodeStyle.BracePlacement - Enum in org.netbeans.api.java.source
 
CodeStyle.BracesGenerationStyle - Enum in org.netbeans.api.java.source
 
CodeStyle.ImportGroups - Class in org.netbeans.api.java.source
Provides an information about the desired grouping of import statements, including group order.
CodeStyle.InsertionPoint - Enum in org.netbeans.api.java.source
 
CodeStyle.MemberGroups - Class in org.netbeans.api.java.source
Provides an information about the desired grouping of class members, including group order.
CodeStyle.WrapStyle - Enum in org.netbeans.api.java.source
 
CodeStyleUtils - Class in org.netbeans.api.java.source
 
collect(WorkingCopy) - Method in class org.netbeans.api.java.source.CommentCollector
collect(TokenSequence<JavaTokenId>, CompilationInfo) - Method in class org.netbeans.api.java.source.CommentCollector
Comment - Class in org.netbeans.api.java.source
An individual comment, consisting of a style, begin and end source file position, the indention (column) of its first character, and its text.
Comment(String) - Method in class org.netbeans.api.java.source.TreeMaker
Creates the DocTree's HTML CommentTree.
Comment.Style - Enum in org.netbeans.api.java.source
The set of different comment types.
CommentCollector - Class in org.netbeans.api.java.source
commit() - Method in class org.netbeans.api.java.source.ModificationResult
Once all of the changes have been collected, this method can be used to commit the changes to the source files
CompilationController - Class in org.netbeans.api.java.source
Class for explicit invocation of compilation phases on a java source.
CompilationInfo - Class in org.netbeans.api.java.source
Assorted information about the JavaSource.
CompilationInfo.CacheClearPolicy - Enum in org.netbeans.api.java.source
CompilationUnit(ExpressionTree, List<? extends ImportTree>, List<? extends Tree>, JavaFileObject) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CompilationUnitTree.
CompilationUnit(List<? extends AnnotationTree>, ExpressionTree, List<? extends ImportTree>, List<? extends Tree>, JavaFileObject) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CompilationUnitTree.
CompilationUnit(PackageTree, List<? extends ImportTree>, List<? extends Tree>, JavaFileObject) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CompilationUnitTree.
CompilationUnit(FileObject, String, List<? extends ImportTree>, List<? extends Tree>) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CompilationUnitTree.
CompilationUnit(List<? extends AnnotationTree>, FileObject, String, List<? extends ImportTree>, List<? extends Tree>) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CompilationUnitTree.
CompoundAssignment(Tree.Kind, ExpressionTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new CompoundAssignmentTree.
computeDuplicates(CompilationInfo, TreePath, TreePath, AtomicBoolean) - Static method in class org.netbeans.api.java.source.SourceUtils
Find duplicates for provided expression
computeGetterName(CharSequence, boolean, boolean, CodeStyle) - Static method in class org.netbeans.api.java.source.CodeStyleUtils
Computes the method name that should be used to read the property value.
computeMemberDependencies() - Method in class org.netbeans.api.java.source.CodeStyle
Determines whether the dependencies between members must be used when sorting.
computeSetterName(CharSequence, boolean, CodeStyle) - Static method in class org.netbeans.api.java.source.CodeStyleUtils
Computes the method name that should be used to write the property value.
ConditionalExpression(ExpressionTree, ExpressionTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new ConditionalExpressionTree.
Constructor(ModifiersTree, List<? extends TypeParameterTree>, List<? extends VariableTree>, List<? extends ExpressionTree>, BlockTree) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new MethodTree representing constructor.
Constructor(ModifiersTree, List<? extends TypeParameterTree>, List<? extends VariableTree>, List<? extends ExpressionTree>, String) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new MethodTree representing constructor.
Continue(CharSequence) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new ContinueTree.
copyComments(Tree, Tree, boolean) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Copy comments from source tree to target tree.
countForUsingStarImport() - Method in class org.netbeans.api.java.source.CodeStyle
Returns the number of classes that have to be imported from a package to convert the single class imports to a 'star' import of the entire package.
countForUsingStaticStarImport() - Method in class org.netbeans.api.java.source.CodeStyle
Returns the number of static members that have to be imported from a class to convert the single member static imports to a 'star' import of the entire class.
create(File) - Static method in class org.netbeans.api.java.source.ClasspathInfo
Creates new interface to the compiler
create(Document) - Static method in class org.netbeans.api.java.source.ClasspathInfo
Creates a new instance of the ClasspathInfo for given Document.
create(FileObject) - Static method in class org.netbeans.api.java.source.ClasspathInfo
Creates new interface to the compiler
create(ClassPath, ClassPath, ClassPath) - Static method in class org.netbeans.api.java.source.ClasspathInfo
 
create(String) - Static method in class org.netbeans.api.java.source.Comment
Define a new block comment from a string.
create(Comment.Style, int, int, int, String) - Static method in class org.netbeans.api.java.source.Comment
Define a comment, using source file positions.
create(Comment.Style, String) - Static method in class org.netbeans.api.java.source.Comment
Define a comment, using specified style.
create(DocTreePath, CompilationInfo) - Static method in class org.netbeans.api.java.source.DocTreePathHandle
Factory method for creating DocTreePathHandle.
create(T) - Static method in class org.netbeans.api.java.source.ElementHandle
Factory method for creating ElementHandle.
create(ClasspathInfo, FileObject...) - Static method in class org.netbeans.api.java.source.JavaSource
Returns a JavaSource instance representing given FileObjects and classpath represented by given ClasspathInfo.
create(ClasspathInfo, Collection<? extends FileObject>) - Static method in class org.netbeans.api.java.source.JavaSource
Returns a JavaSource instance representing given FileObjects and classpath represented by given ClasspathInfo.
create(CompilationInfo) - Static method in class org.netbeans.api.java.source.matching.Matcher
Create the Matcher for the given CompilationInfo.
create(URL) - Method in interface org.netbeans.api.java.source.support.ProfileSupport.ViolationCollectorFactory
Creates a new for given root.
create(TreePath, CompilationInfo) - Static method in class org.netbeans.api.java.source.TreePathHandle
Factory method for creating TreePathHandle.
create(Element, CompilationInfo) - Static method in class org.netbeans.api.java.source.TreePathHandle
Factory method for creating TreePathHandle.
create(T) - Static method in class org.netbeans.api.java.source.TypeMirrorHandle
Factory method for creating TypeMirrorHandle.
createAbstractMethodImplementation(TypeElement, ExecutableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates an implementation of an abstract method within a class.
createAbstractMethodImplementations(TypeElement, Iterable<? extends ExecutableElement>) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates implementations of abstract methods within a class.
createAllAbstractMethodImplementations(TypeElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates implementations of the all abstract methods within a class.
createConstructor(TypeElement, Iterable<? extends VariableElement>, ExecutableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a class constructor.
createConstructor(ClassTree, Iterable<? extends VariableTree>) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a class constructor.
createDefaultConstructor(TypeElement, Iterable<? extends VariableElement>, ExecutableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a class default constructor.
createDefaultLambdaBody(LambdaExpressionTree, ExecutableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a default lambda body.
createFromTemplate(FileObject, String, ElementKind) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Create a new CompilationUnitTree from a template.
createGetter(TypeElement, VariableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a getter method for a field.
createGetter(VariableTree) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a getter method for a field.
createLambdaBody(LambdaExpressionTree, String) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new BlockTree for provided bodyText.
createMethod(DeclaredType, ExecutableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Create a new method tree for the given method element.
createMethodBody(MethodTree, String) - Method in class org.netbeans.api.java.source.TreeMaker
Creates a new BlockTree for provided bodyText.
createModuleElementHandle(String) - Static method in class org.netbeans.api.java.source.ElementHandle
Creates an ElementHandle representing a ModuleElement.
createOverridingMethod(TypeElement, ExecutableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates an overriding method within a class.
createOverridingMethods(TypeElement, Iterable<? extends ExecutableElement>) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates overriding methods within a class.
createPackageElementHandle(String) - Static method in class org.netbeans.api.java.source.ElementHandle
Creates an ElementHandle representing a PackageElement.
createPackageSearchScope(ClassIndex.SearchScopeType, String...) - Static method in class org.netbeans.api.java.source.ClassIndex
Creates a search scope limited to list of packages.
createPatternWithFreeVariables(TreePath, Map<String, TypeMirror>) - Static method in class org.netbeans.api.java.source.matching.Pattern
Creates a pattern that contains free variables.
createPatternWithFreeVariables(Iterable<? extends TreePath>, Map<String, TypeMirror>) - Static method in class org.netbeans.api.java.source.matching.Pattern
Creates a pattern that contains free variables for multiple consequent patterns.
createPatternWithRemappableVariables(TreePath, Collection<? extends VariableElement>, boolean) - Static method in class org.netbeans.api.java.source.matching.Pattern
 
createPatternWithRemappableVariables(Iterable<? extends TreePath>, Collection<? extends VariableElement>, boolean) - Static method in class org.netbeans.api.java.source.matching.Pattern
 
createSetter(TypeElement, VariableElement) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a setter method for a field.
createSetter(ClassTree, VariableTree) - Method in class org.netbeans.api.java.source.GeneratorUtilities
Creates a setter method for a field.
createSimplePattern(TreePath) - Static method in class org.netbeans.api.java.source.matching.Pattern
Creates a simple pattern.
createSimplePattern(Iterable<? extends TreePath>) - Static method in class org.netbeans.api.java.source.matching.Pattern
Creates a simple pattern for multiple consequent patterns.
createTask(FileObject) - Method in class org.netbeans.api.java.source.JavaSourceTaskFactory
Create task for a given file.
createTypeElementHandle(ElementKind, String) - Static method in class org.netbeans.api.java.source.ElementHandle
Creates an ElementHandle representing a TypeElement.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links
org.netbeans.modules.java.source.base 2.56.0 6