- Identifier(CharSequence) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new IdentifierTree.
- Identifier(Element) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new IdentifierTree from an Element.
- If(ExpressionTree, StatementTree, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new IfTree.
- implementsMethod(ExecutableElement) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Returns true if this element represents a method which
implements a method in an interface the parent class implements.
- Import(Tree, boolean) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new ImportTree.
- importComments(T, CompilationUnitTree) - Method in class org.netbeans.api.java.source.GeneratorUtilities
-
- importFQNs(T) - Method in class org.netbeans.api.java.source.GeneratorUtilities
-
Take a tree as a parameter, replace resolved fully qualified names with
simple names and add imports to compilation unit during task commit.
- importInnerClasses() - Method in class org.netbeans.api.java.source.CodeStyle
-
Returns whether to create import statements for the inner classes.
- indent() - Method in class org.netbeans.api.java.source.Comment
-
Returns the line indention for this comment, or NOPOS if the
comment was added by a translation operation.
- indentCasesFromSwitch() - Method in class org.netbeans.api.java.source.CodeStyle
-
- indentTopLevelClassMembers() - Method in class org.netbeans.api.java.source.CodeStyle
-
- InheritDoc() - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates the DocTree's InheritDocTree.
- insertAnnotationAttrValue(AnnotationTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element attrValue at the specified
position in attribute values list.
- insertBlockStatement(BlockTree, int, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element statement at the specified
position in statements list.
- insertCaseStatement(CaseTree, int, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element statement at the specified
position in statements list.
- insertClassImplementsClause(ClassTree, int, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element implementsClause at the specified
position in implements list.
- insertClassMember(ClassTree, Tree) - Method in class org.netbeans.api.java.source.GeneratorUtilities
-
Inserts a member to a class.
- insertClassMember(ClassTree, Tree, int) - Method in class org.netbeans.api.java.source.GeneratorUtilities
-
Inserts a member to a class.
- insertClassMember(ClassTree, int, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element member at the specified
position in members list.
- insertClassMembers(ClassTree, List<? extends Tree>, int) - Method in class org.netbeans.api.java.source.GeneratorUtilities
-
Inserts members to a class.
- insertClassMembers(ClassTree, Iterable<? extends Tree>) - Method in class org.netbeans.api.java.source.GeneratorUtilities
-
Inserts members to a class.
- insertClassTypeParameter(ClassTree, int, TypeParameterTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element member at the specified
position in type parameters list.
- insertComment(Tree, Comment, int, boolean) - Method in class org.netbeans.api.java.source.TreeMaker
-
Insert a comment to the list of comments attached to a given tree (to a specified position).
- insertCompUnitImport(CompilationUnitTree, int, ImportTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element importt at the specified
position in imports list.
- insertCompUnitTypeDecl(CompilationUnitTree, int, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element typeDeclaration at the specified
position in type declarations list.
- insertForLoopInitializer(ForLoopTree, int, StatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element initializer at the specified
position in initializers list.
- insertForLoopUpdate(ForLoopTree, int, ExpressionStatementTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element update at the specified
position in updates list.
- insertLambdaParameter(LambdaExpressionTree, int, VariableTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element parameter
at the specified position in parameters list.
- insertMethodInvocationArgument(MethodInvocationTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element argument.
- insertMethodInvocationTypeArgument(MethodInvocationTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element typeArgument
at the specified position in type arguments list.
- insertMethodParameter(MethodTree, int, VariableTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element parameter
at the specified position in parameters list.
- insertMethodThrows(MethodTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element throws at the specified
position in throws list.
- insertMethodTypeParameter(MethodTree, int, TypeParameterTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element typeParameter
at the specified position in type parameters list.
- insertModifiersAnnotation(ModifiersTree, int, AnnotationTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element annotation at the specified
position in annotations list.
- insertModuleDirective(ModuleTree, int, DirectiveTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified directive at the specified position
in directives list.
- insertNewArrayDimension(NewArrayTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element dimension at the specified
position in dimensions list.
- insertNewArrayInitializer(NewArrayTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element initializer at the specified
position in initializers list.
- insertNewClassArgument(NewClassTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element argument
at the specified position in type arguments list.
- insertNewClassTypeArgument(NewClassTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element typeArgument
at the specified position in type arguments list.
- insertPackageAnnotation(CompilationUnitTree, int, AnnotationTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element annotation at the specified
position in package annotations list.
- insertParameterizedTypeTypeArgument(ParameterizedTypeTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element argument at the specified
position in type arguments list.
- insertSwitchCase(SwitchTree, int, CaseTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element kejs at the specified
position in cases list.
- insertTryCatch(TryTree, int, CatchTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element kec at the specified
position in catches list.
- insertTypeParameterBound(TypeParameterTree, int, ExpressionTree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Inserts the specified element bound at the specified
position in bounds list.
- InstanceOf(ExpressionTree, Tree) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new InstanceOfTree.
- Interface(ModifiersTree, CharSequence, List<? extends TypeParameterTree>, List<? extends Tree>, List<? extends Tree>) - Method in class org.netbeans.api.java.source.TreeMaker
-
Creates a new ClassTree representing interface.
- isAccessible(Scope, Element, TypeMirror) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- isAnnotation(ClassTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- isCanceled() - Method in class org.netbeans.api.java.source.support.CancellableTreePathScanner
-
- isCanceled() - Method in class org.netbeans.api.java.source.support.CancellableTreeScanner
-
- isCancelled() - Method in interface org.netbeans.api.java.source.support.ProfileSupport.ViolationCollectorFactory
-
Signals that the validation should be canceled.
- isCastable(TypeMirror, TypeMirror) - Method in class org.netbeans.api.java.source.TypeUtilities
-
Check if type t1 can be cast to t2.
- isClass(ClassTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- isClassFile(FileObject) - Static method in class org.netbeans.api.java.source.SourceUtils
-
Returns true if the given file is a class file
- isCommitToGuards() - Method in class org.netbeans.api.java.source.ModificationResult.Difference
-
Gets flag if it is possible to write to guarded sections.
- isCompileOnSaveSupported() - Static method in class org.netbeans.api.java.source.BuildArtifactMapper
-
Checks if compile on save is supported in the current configuration.
- isCompileTimeConstantExpression(TreePath) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether the given expression is a compile-time constant, as per JLS 15.28.
- isDependencies() - Method in interface org.netbeans.api.java.source.ClassIndex.SearchScopeType
-
Search in dependent libraries bootpath, compilepath.
- isDocComment() - Method in class org.netbeans.api.java.source.Comment
-
Returns true if this is a JavaDoc comment.
- isEffectivelyFinal(VariableElement) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Check whether the given variable is effectively final or final.
- isEndOfCompoundVariableDeclaration(Tree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Check the tree is the end of compound declaration.
- isEnum(ClassTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- isEnumConstant(VariableTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether given variable tree represents an enum constant.
- isErroneous(Element) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Checks whether 'e' contains error or is missing.
- isExcluded() - Method in class org.netbeans.api.java.source.ModificationResult.Difference
-
- isExpressionStatement(ExpressionTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether given expression represents an expression statement.
- isInterface(ClassTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
- isLocal(Element) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Returns true if the element is declared (directly or indirectly) local
to a method or variable initializer.
- isMainClass(String, ClasspathInfo) - Static method in class org.netbeans.api.java.source.SourceUtils
-
Returns true when the class contains main method.
- isMainClass(String, ClasspathInfo, boolean) - Static method in class org.netbeans.api.java.source.SourceUtils
-
Returns true when the class contains main method.
- isMainMethod(ExecutableElement) - Static method in class org.netbeans.api.java.source.SourceUtils
-
Returns true if the method is a main method
- isMemberOf(Element, TypeElement) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Returns true if a type element has the specified element as a member.
- isModuleInfo(CompilationUnitTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether given compilation unit represents a module-info.
- isNew() - Method in class org.netbeans.api.java.source.Comment
-
- isOpen(ModuleElement) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Returns true if the given module is open.
- isPackageInfo(CompilationUnitTree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether given compilation unit represents a package-info.
- isPartOfCompoundVariableDeclaration(Tree) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether tree is part of compound variable declaration.
- isScanInProgress() - Static method in class org.netbeans.api.java.source.SourceUtils
-
Tests whether the initial scan is in progress.
- isSources() - Method in interface org.netbeans.api.java.source.ClassIndex.SearchScopeType
-
Search in source path.
- isStaticContext(Scope) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Checks whether the given scope is in "static" context.
- isSynthetic(Element) - Method in class org.netbeans.api.java.source.ElementUtilities
-
Returns true if the given element is synthetic.
- isSynthetic(TreePath) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Returns whether or not the given tree is synthetic - generated by the parser.
- isVarType(TreePath) - Method in class org.netbeans.api.java.source.TreeUtilities
-
Check the var type variable in given tree path
TreePath
.