- reattributeTree(Tree, Scope) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- reattributeTreeTo(Tree, Scope, Tree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- RecordComponent(ModifiersTree, CharSequence, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new VariableTree for a record component.
- RecordPattern(ExpressionTree, List<PatternTree>, VariableTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new Tree for a given DeconstructionPatternTree
- redundantDoWhileBraces() - Method in class org.netbeans.api.java.source.CodeStyle
-
- redundantForBraces() - Method in class org.netbeans.api.java.source.CodeStyle
-
- redundantIfBraces() - Method in class org.netbeans.api.java.source.CodeStyle
-
- redundantWhileBraces() - Method in class org.netbeans.api.java.source.CodeStyle
-
- Reference(ExpressionTree, CharSequence, List<? extends Tree>) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates the DocTree's ReferenceTree.
- ReferencesCount - Class in org.netbeans.api.java.source.support
-
Provides an information about frequencies of type and package usages
in given source root or source path.
- removeAnnotationAttrValue(AnnotationTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in attribute values list of the specified
element.
- removeAnnotationAttrValue(AnnotationTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in attribute values list.
- removeArtifactsUpdatedListener(URL, BuildArtifactMapper.ArtifactsUpdated) - Static method in class org.netbeans.api.java.source.BuildArtifactMapper
-
- removeBlockStatement(BlockTree, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in statements list of the specified
element.
- removeBlockStatement(BlockTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in statements list.
- removeCaseStatement(CaseTree, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in statements list of the specified
element.
- removeCaseStatement(CaseTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in statements list.
- removeChangeListener(ChangeListener) - Method in class org.netbeans.api.java.source.ClasspathInfo
-
Removes ChangeListener from the list of listeners.
- removeClassImplementsClause(ClassTree, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in implements list of the specified
element.
- removeClassImplementsClause(ClassTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in implements list.
- removeClassIndexListener(ClassIndexListener) - Method in class org.netbeans.api.java.source.ClassIndex
-
- removeClassMember(ClassTree, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in members list of the specified
element.
- removeClassMember(ClassTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in members list.
- removeClassTypeParameter(ClassTree, TypeParameterTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in type parameters list of the specified
element.
- removeClassTypeParameter(ClassTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in type parameters list.
- removeComment(Tree, int, boolean) - Method in class org.netbeans.api.java.source.TreeMaker
-
Remove a comment from the list of comments attached to a given tree.
- removeCompUnitImport(CompilationUnitTree, ImportTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in imports list of the specified
element.
- removeCompUnitImport(CompilationUnitTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in import list.
- removeCompUnitTypeDecl(CompilationUnitTree, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in type declarations list of the specified
element.
- removeCompUnitTypeDecl(CompilationUnitTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in type declarations list.
- removeForLoopInitializer(ForLoopTree, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in initializers list of the specified
element.
- removeForLoopInitializer(ForLoopTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in initializers list.
- removeForLoopUpdate(ForLoopTree, ExpressionStatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in updates list of the specified
element.
- removeForLoopUpdate(ForLoopTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in updates list.
- removeLambdaParameter(LambdaExpressionTree, VariableTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in parameters list of the specified
elements.
- removeLambdaParameter(LambdaExpressionTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in parameters list.
- removeMethodInvocationArgument(MethodInvocationTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in arguments list of the specified
element.
- removeMethodInvocationArgument(MethodInvocationTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in arguments
list.
- removeMethodInvocationTypeArgument(MethodInvocationTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in type arguments list of the specified
elements.
- removeMethodInvocationTypeArgument(MethodInvocationTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in type arguments.
- removeMethodParameter(MethodTree, VariableTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in parameters list of the specified
elements.
- removeMethodParameter(MethodTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in parameters list.
- removeMethodThrows(MethodTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in throws list of the specified
element.
- removeMethodThrows(MethodTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in throws list.
- removeMethodTypeParameter(MethodTree, TypeParameterTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in type parameters list of the specified
elements.
- removeMethodTypeParameter(MethodTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in type parameters list.
- removeModifiersAnnotation(ModifiersTree, AnnotationTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in annotations list of the specified
element.
- removeModifiersAnnotation(ModifiersTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in annotations list.
- removeModifiersModifier(ModifiersTree, Modifier) - Method in class org.netbeans.api.java.source.TreeMaker
-
- removeModuleDirective(ModuleTree, DirectiveTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in directives list of the specified
directive.
- removeModuleDirective(ModuleTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the directive at the specified position in directives list.
- removeNewArrayDimension(NewArrayTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in dimensions list of the specified
element.
- removeNewArrayDimension(NewArrayTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in dimensions list.
- removeNewArrayInitializer(NewArrayTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in initializers list of the specified
element.
- removeNewArrayInitializer(NewArrayTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in initializers list.
- removeNewClassArgument(NewClassTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in arguments of the specified elements.
- removeNewClassArgument(NewClassTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in arguments
list.
- removeNewClassTypeArgument(NewClassTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in type arguments list of the specified elements.
- removeNewClassTypeArgument(NewClassTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in type arguments
list.
- removePackageAnnotation(CompilationUnitTree, AnnotationTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in package annotations list of the specified
element.
- removePackageAnnotation(CompilationUnitTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in package annotations list.
- removeParameterizedTypeTypeArgument(ParameterizedTypeTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in type arguments list of the specified
element.
- removeParameterizedTypeTypeArgument(ParameterizedTypeTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in type arguments list.
- removePrefixSuffix(CharSequence, String, String) - Static method in class org.netbeans.api.java.source.CodeStyleUtils
-
Removes a prefix and suffix from a name.
- removeSwitchCase(SwitchTree, CaseTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in cases list of the specified
element.
- removeSwitchCase(SwitchTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in cases list.
- removeTryCatch(TryTree, CatchTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in catches list of the specified
element.
- removeTryCatch(TryTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in catches list.
- removeTypeParameterBound(TypeParameterTree, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the first occurrence in bounds list of the specified
element.
- removeTypeParameterBound(TypeParameterTree, int) - Method in class org.netbeans.api.java.source.TreeMaker
-
Removes the element at the specified position in bounds list.
- reportProfileViolation(ProfileSupport.Violation) - Method in interface org.netbeans.api.java.source.support.ProfileSupport.ViolationCollector
-
- Requires(boolean, boolean, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new RequiresTree.
- reschedule(FileObject) - Method in class org.netbeans.api.java.source.JavaSourceTaskFactory
-
Re-run task created by this factory for given file.
- resolve(CompilationInfo) - Method in class org.netbeans.api.java.source.DocTreePathHandle
-
- resolve(CompilationInfo) - Method in class org.netbeans.api.java.source.ElementHandle
-
- resolve(CompilationInfo) - Method in class org.netbeans.api.java.source.TreePathHandle
-
- resolve(CompilationInfo) - Method in class org.netbeans.api.java.source.TypeMirrorHandle
-
- resolveCapturedType(CompilationInfo, TypeMirror) - Static method in class org.netbeans.api.java.source.SourceUtils
-
Resolves all captured type variables to their respective wildcards in the given type.
- resolveCapturedType(TypeMirror) - Static method in class org.netbeans.api.java.source.SourceUtils
-
- resolveElement(CompilationInfo) - Method in class org.netbeans.api.java.source.TreePathHandle
-
- resolveImport(CompilationInfo, TreePath, String) - Static method in class org.netbeans.api.java.source.SourceUtils
-
Resolve full qualified name in the given context.
- resolveRewriteTarget(Tree) - Method in class org.netbeans.api.java.source.WorkingCopy
-
- Return(ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new ReturnTree.
- rewrite(Tree, Tree) - Method in class org.netbeans.api.java.source.WorkingCopy
-
Replaces the original tree oldTree
with the new one -
newTree
.
- rewrite(Tree, DocTree, DocTree) - Method in class org.netbeans.api.java.source.WorkingCopy
-
Replaces the original doctree oldTree
with the new one -
newTree
for a specific tree.
- rewriteInComment(int, int, String) - Method in class org.netbeans.api.java.source.WorkingCopy
-
Replace a part of a comment token with the given text.
- rootsAdded(RootsEvent) - Method in interface org.netbeans.api.java.source.ClassIndexListener
-
- RootsEvent - Class in org.netbeans.api.java.source
-
- rootsRemoved(RootsEvent) - Method in interface org.netbeans.api.java.source.ClassIndexListener
-
- run(P) - Method in interface org.netbeans.api.java.source.Task
-
Implement the functionality here.
- runModificationTask(Task<WorkingCopy>) - Method in class org.netbeans.api.java.source.JavaSource
-
Runs a task which permits for modifying the sources.
- runModificationTask(Collection<Source>, UserTask) - Static method in class org.netbeans.api.java.source.ModificationResult
-
- runUserActionTask(Task<CompilationController>, boolean) - Method in class org.netbeans.api.java.source.JavaSource
-
Runs a task which permits for controlling phases of the parsing process.
- runWhenScanFinished(Task<CompilationController>, boolean) - Method in class org.netbeans.api.java.source.JavaSource
-
Performs the given task when the scan finished.