Compiler Tree API
DRAFT 9-Ubuntu+0-9b151-2
A B C D E F G H I J L M N O P R S T U V W X 

G

GENERATE - com.sun.source.util.TaskEvent.Kind
For events relating to class files being generated.
GREATER_THAN - com.sun.source.tree.Tree.Kind
Used for instances of BinaryTree representing greater-than >.
GREATER_THAN_EQUAL - com.sun.source.tree.Tree.Kind
Used for instances of BinaryTree representing greater-than-equal >=.
generate() - Method in class com.sun.source.util.JavacTask
Generates code.
getAnnotations() - Method in interface com.sun.source.tree.AnnotatedTypeTree
Returns the annotations associated with this type expression.
getAnnotations() - Method in interface com.sun.source.tree.ModifiersTree
Returns the annotations in this modifiers tree.
getAnnotations() - Method in interface com.sun.source.tree.ModuleTree
Returns the annotations associated with this module declaration.
getAnnotations() - Method in interface com.sun.source.tree.NewArrayTree
Returns the annotations on the base type.
getAnnotations() - Method in interface com.sun.source.tree.PackageTree
Returns the annotations associated with this package declaration.
getAnnotations() - Method in interface com.sun.source.tree.TypeParameterTree
Returns annotations on the type parameter declaration.
getAnnotationType() - Method in interface com.sun.source.tree.AnnotationTree
Returns the annotation type.
getArguments() - Method in interface com.sun.source.tree.AnnotationTree
Returns the arguments, if any, for the annotation.
getArguments() - Method in interface com.sun.source.tree.MethodInvocationTree
Returns the arguments for the method invocation.
getArguments() - Method in interface com.sun.source.tree.NewClassTree
Returns the arguments for the constructor to be invoked.
getAttributes() - Method in interface com.sun.source.doctree.StartElementTree
Returns any attributes defined by this element.
getBlock() - Method in interface com.sun.source.tree.CatchTree
Returns the catch block.
getBlock() - Method in interface com.sun.source.tree.SynchronizedTree
Returns the block of the synchronized statement.
getBlock() - Method in interface com.sun.source.tree.TryTree
Returns the block of the try statement.
getBlockTags() - Method in interface com.sun.source.doctree.DocCommentTree
Returns the block tags for a documentation comment.
getBody() - Method in interface com.sun.source.doctree.CommentTree
Returns the text of the comment.
getBody() - Method in interface com.sun.source.doctree.DeprecatedTree
Returns the description explaining why an item is deprecated.
getBody() - Method in interface com.sun.source.doctree.DocCommentTree
Returns the body of a documentation comment, appearing after the first sentence, and before any block tags.
getBody() - Method in interface com.sun.source.doctree.HiddenTree
Returns the description explaining why an item is hidden.
getBody() - Method in interface com.sun.source.doctree.LiteralTree
Returns the body of the @code or @literal tag.
getBody() - Method in interface com.sun.source.doctree.SinceTree
Returns the text explaining the availability of the item being documented.
getBody() - Method in interface com.sun.source.doctree.TextTree
Returns the text.
getBody() - Method in interface com.sun.source.doctree.VersionTree
Returns the body of the tag.
getBody() - Method in interface com.sun.source.tree.LambdaExpressionTree
Returns the body of the lambda expression.
getBody() - Method in interface com.sun.source.tree.MethodTree
Returns the method body, or null if this is an abstract or native method.
getBodyKind() - Method in interface com.sun.source.tree.LambdaExpressionTree
Returns the kind of the body of the lambda expression.
getBound() - Method in interface com.sun.source.tree.WildcardTree
Returns the bound of the wildcard.
getBounds() - Method in interface com.sun.source.tree.IntersectionTypeTree
Returns the bounds of the type.
getBounds() - Method in interface com.sun.source.tree.TypeParameterTree
Returns the bounds of the type parameter.
getBreakIterator() - Method in class com.sun.source.util.DocTrees
Returns the break iterator used to compute the first sentence of documentation comments.
getCases() - Method in interface com.sun.source.tree.SwitchTree
Returns the cases for the switch statement.
getCatches() - Method in interface com.sun.source.tree.TryTree
Returns any catch blocks provided in the try statement.
getClassBody() - Method in interface com.sun.source.tree.NewClassTree
Returns the class body if an anonymous class is being instantiated, and null otherwise.
getColumnNumber(long) - Method in interface com.sun.source.tree.LineMap
Finds the column for a character position.
getCompilationUnit() - Method in class com.sun.source.util.TaskEvent
Returns the compilation unit for this event.
getCompilationUnit() - Method in class com.sun.source.util.TreePath
Returns the compilation unit associated with this path.
getCondition() - Method in interface com.sun.source.tree.AssertTree
Returns the condition being asserted.
getCondition() - Method in interface com.sun.source.tree.ConditionalExpressionTree
Returns the condition.
getCondition() - Method in interface com.sun.source.tree.DoWhileLoopTree
Returns the condition of the loop.
getCondition() - Method in interface com.sun.source.tree.ForLoopTree
Returns the condition of the for statement.
getCondition() - Method in interface com.sun.source.tree.IfTree
Returns the condition of the if-statement.
getCondition() - Method in interface com.sun.source.tree.WhileLoopTree
Returns the condition of the loop.
getContent() - Method in interface com.sun.source.doctree.UnknownBlockTagTree
Returns the content of an unrecognized block tag.
getContent() - Method in interface com.sun.source.doctree.UnknownInlineTagTree
Returns the content of an unrecognized inline tag.
getCurrentPath() - Method in class com.sun.source.util.DocTreePathScanner
Returns the current path for the node, as built up by the currently active set of scan calls.
getCurrentPath() - Method in class com.sun.source.util.TreePathScanner
Returns the current path for the node, as built up by the currently active set of scan calls.
getDefaultValue() - Method in interface com.sun.source.tree.MethodTree
Returns the default value, if this is an element within an annotation type declaration.
getDescription() - Method in interface com.sun.source.doctree.IndexTree
Returns the description, if any.
getDescription() - Method in interface com.sun.source.doctree.ParamTree
Returns the description of the parameter.
getDescription() - Method in interface com.sun.source.doctree.ProvidesTree
Returns a description of the service type being provided by the module.
getDescription() - Method in interface com.sun.source.doctree.ReturnTree
Returns the description of the return value of a method.
getDescription() - Method in interface com.sun.source.doctree.SerialDataTree
Returns the description of the serial data.
getDescription() - Method in interface com.sun.source.doctree.SerialFieldTree
Returns the description of the serial field.
getDescription() - Method in interface com.sun.source.doctree.SerialTree
Returns the description of the field, or the word "include" or "exclude".
getDescription() - Method in interface com.sun.source.doctree.ThrowsTree
Returns a description of the reasons why the exception may be thrown.
getDescription() - Method in interface com.sun.source.doctree.UsesTree
Returns a description of the use of service type within the module.
getDetail() - Method in interface com.sun.source.tree.AssertTree
Returns the detail expression.
getDiagnostic() - Method in interface com.sun.source.doctree.ErroneousTree
Returns a diagnostic object giving details about the reason the body text is in error.
getDimAnnotations() - Method in interface com.sun.source.tree.NewArrayTree
Returns the annotations on each of the dimension expressions.
getDimensions() - Method in interface com.sun.source.tree.NewArrayTree
Returns the dimension expressions for the type.
getDirectives() - Method in interface com.sun.source.tree.ModuleTree
Returns the directives in the module declaration.
getDocComment() - Method in class com.sun.source.util.DocTreePath
Returns the DocCommentTree associated with this path.
getDocComment(TreePath) - Method in class com.sun.source.util.Trees
Returns the doc comment, if any, for the Tree node identified by a given TreePath.
getDocCommentTree(TreePath) - Method in class com.sun.source.util.DocTrees
Returns the doc comment tree, if any, for the Tree node identified by a given TreePath.
getDocCommentTree(Element) - Method in class com.sun.source.util.DocTrees
Returns the doc comment tree of the given element.
getDocCommentTree(Element, String) - Method in class com.sun.source.util.DocTrees
Returns the doc comment tree of the given file whose path is specified relative to the given element.
getDocCommentTree(FileObject) - Method in class com.sun.source.util.DocTrees
Returns the doc comment tree of the given file.
getDocTreeFactory() - Method in class com.sun.source.util.DocTrees
Returns a utility object for creating DocTree objects.
getDocTreePath(FileObject) - Method in class com.sun.source.util.DocTrees
Returns a doc tree path containing the doc comment tree of the given file.
getElement(DocTreePath) - Method in class com.sun.source.util.DocTrees
Returns the language model element referred to by the leaf node of the given DocTreePath, or null if unknown.
getElement(TreePath) - Method in class com.sun.source.util.Trees
Returns the Element for the Tree node identified by a given TreePath.
getElements() - Method in class com.sun.source.util.JavacTask
Returns a utility object for dealing with program elements.
getElseStatement() - Method in interface com.sun.source.tree.IfTree
Returns the statement to be executed if the condition is false, or null if there is no such statement.
getEnclosingClass() - Method in interface com.sun.source.tree.Scope
Returns the innermost type element containing the position of this scope.
getEnclosingExpression() - Method in interface com.sun.source.tree.NewClassTree
Returns the enclosing expression, or null if none.
getEnclosingMethod() - Method in interface com.sun.source.tree.Scope
Returns the innermost executable element containing the position of this scope.
getEnclosingScope() - Method in interface com.sun.source.tree.Scope
Returns the enclosing scope.
getEndPosition(CompilationUnitTree, DocCommentTree, DocTree) - Method in interface com.sun.source.util.DocSourcePositions
Returns the ending position of the tree within the comment within the file.
getEndPosition(CompilationUnitTree, Tree) - Method in interface com.sun.source.util.SourcePositions
Returns the ending position of tree within file.
getErrorTrees() - Method in interface com.sun.source.tree.ErroneousTree
Returns any trees that were saved in this node.
getExceptionName() - Method in interface com.sun.source.doctree.ThrowsTree
Returns the name of the exception being documented.
getExpression() - Method in interface com.sun.source.tree.ArrayAccessTree
Returns the expression for the array being accessed.
getExpression() - Method in interface com.sun.source.tree.AssignmentTree
Returns the expression being assigned to the variable.
getExpression() - Method in interface com.sun.source.tree.CaseTree
Returns the expression for the case, or null if this is the default case.
getExpression() - Method in interface com.sun.source.tree.CompoundAssignmentTree
Returns the expression on the right hand side of the compound assignment.
getExpression() - Method in interface com.sun.source.tree.EnhancedForLoopTree
Returns the expression yielding the values for the control variable.
getExpression() - Method in interface com.sun.source.tree.ExpressionStatementTree
Returns the expression constituting this statement.
getExpression() - Method in interface com.sun.source.tree.InstanceOfTree
Returns the expression to be tested.
getExpression() - Method in interface com.sun.source.tree.MemberSelectTree
Returns the expression for which a member is to be selected.
getExpression() - Method in interface com.sun.source.tree.ParenthesizedTree
Returns the expression within the parentheses.
getExpression() - Method in interface com.sun.source.tree.ReturnTree
Returns the expression to be returned.
getExpression() - Method in interface com.sun.source.tree.SwitchTree
Returns the expression for the switch statement.
getExpression() - Method in interface com.sun.source.tree.SynchronizedTree
Returns the expression on which to synchronize.
getExpression() - Method in interface com.sun.source.tree.ThrowTree
Returns the expression to be thrown.
getExpression() - Method in interface com.sun.source.tree.TypeCastTree
Returns the expression being cast.
getExpression() - Method in interface com.sun.source.tree.UnaryTree
Returns the expression that is the operand of the unary operator.
getExtendsClause() - Method in interface com.sun.source.tree.ClassTree
Returns the supertype of this type declaration, or null if none is provided.
getFalseExpression() - Method in interface com.sun.source.tree.ConditionalExpressionTree
Returns the expression to be evaluated if the condition is false.
getFinallyBlock() - Method in interface com.sun.source.tree.TryTree
Returns the finally block provided in the try statement, or null if there is none.
getFirstSentence() - Method in interface com.sun.source.doctree.DocCommentTree
Returns the first sentence of a documentation comment.
getFirstSentence(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
Get the first sentence contained in a list of content.
getFirstSentence(List<? extends DocTree>) - Method in class com.sun.source.util.DocTrees
Returns the list of DocTree representing the first sentence of a comment.
getFlags() - Method in interface com.sun.source.tree.ModifiersTree
Returns the flags in this modifiers tree.
getFullBody() - Method in interface com.sun.source.doctree.DocCommentTree
Returns the entire body of a documentation comment, appearing before any block tags, including the first sentence.
getIdentifier() - Method in interface com.sun.source.tree.MemberSelectTree
Returns the name of the member to be selected.
getIdentifier() - Method in interface com.sun.source.tree.NewClassTree
Returns the name of the class being instantiated.
getImplementationNames() - Method in interface com.sun.source.tree.ProvidesTree
Returns the names of the implementation types being provided.
getImplementsClause() - Method in interface com.sun.source.tree.ClassTree
Returns the interfaces implemented by this type declaration.
getImports() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the import declarations appearing in this compilation unit.
getIndex() - Method in interface com.sun.source.tree.ArrayAccessTree
Returns the expression for the index.
getInitializer() - Method in interface com.sun.source.tree.ForLoopTree
Returns any initializers of the for statement.
getInitializer() - Method in interface com.sun.source.tree.VariableTree
Returns the initializer for the variable, or null if none.
getInitializers() - Method in interface com.sun.source.tree.NewArrayTree
Returns the initializer expressions.
getKind() - Method in interface com.sun.source.doctree.DocTree
Returns the kind of this tree.
getKind() - Method in interface com.sun.source.tree.Tree
Returns the kind of this tree.
getKind() - Method in class com.sun.source.util.TaskEvent
Returns the kind for this event.
getLabel() - Method in interface com.sun.source.doctree.LinkTree
Returns the label, if any, of the link.
getLabel() - Method in interface com.sun.source.tree.BreakTree
Returns the label for this break statement.
getLabel() - Method in interface com.sun.source.tree.ContinueTree
Returns the label for this continue statement.
getLabel() - Method in interface com.sun.source.tree.LabeledStatementTree
Returns the label.
getLeaf() - Method in class com.sun.source.util.DocTreePath
Returns the leaf node for this path.
getLeaf() - Method in class com.sun.source.util.TreePath
Returns the leaf node for this path.
getLeftOperand() - Method in interface com.sun.source.tree.BinaryTree
Returns the left (first) operand of the expression.
getLineMap() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the line map for this compilation unit, if available.
getLineNumber(long) - Method in interface com.sun.source.tree.LineMap
Finds the line containing a position; a line termination character is on the line it terminates.
getLocalElements() - Method in interface com.sun.source.tree.Scope
Returns the elements directly contained in this scope.
getLub(CatchTree) - Method in class com.sun.source.util.Trees
Returns the lub of an exception parameter declared in a catch clause.
getMembers() - Method in interface com.sun.source.tree.ClassTree
Returns the members declared in this type declaration.
getMethodSelect() - Method in interface com.sun.source.tree.MethodInvocationTree
Returns the expression identifying the method to be invoked.
getMode() - Method in interface com.sun.source.tree.MemberReferenceTree
Returns the mode of the reference.
getModifiers() - Method in interface com.sun.source.tree.ClassTree
Returns the modifiers, including any annotations, for this type declaration.
getModifiers() - Method in interface com.sun.source.tree.MethodTree
Returns the modifiers, including any annotations for the method being declared.
getModifiers() - Method in interface com.sun.source.tree.VariableTree
Returns the modifiers, including any annotations, on the declaration.
getModuleName() - Method in interface com.sun.source.tree.RequiresTree
Returns the name of the module that is required.
getModuleNames() - Method in interface com.sun.source.tree.ExportsTree
Returns the names of the modules to which the package is exported, or null, if the package is exported to all modules.
getModuleNames() - Method in interface com.sun.source.tree.OpensTree
Returns the names of the modules to which the package is opened, or null, if the package is opened to all modules.
getModuleType() - Method in interface com.sun.source.tree.ModuleTree
Returns the type of this module.
getName() - Method in interface com.sun.source.doctree.AttributeTree
Returns the name of the attribute.
getName() - Method in interface com.sun.source.doctree.AuthorTree
Returns the name of the author.
getName() - Method in interface com.sun.source.doctree.EndElementTree
Returns the name of this element.
getName() - Method in interface com.sun.source.doctree.EntityTree
Returns the name or value of the entity.
getName() - Method in interface com.sun.source.doctree.IdentifierTree
Returns the name of the identifier.
getName() - Method in interface com.sun.source.doctree.ParamTree
Returns the name of the parameter.
getName() - Method in interface com.sun.source.doctree.SerialFieldTree
Returns the name of the serial field.
getName() - Method in interface com.sun.source.doctree.StartElementTree
Returns the name of the element.
getName() - Method in interface com.sun.source.tree.IdentifierTree
Returns the name of the identifier.
getName() - Method in interface com.sun.source.tree.MemberReferenceTree
Returns the name of the reference.
getName() - Method in interface com.sun.source.tree.MethodTree
Returns the name of the method being declared.
getName() - Method in interface com.sun.source.tree.ModuleTree
Returns the name of the module.
getName() - Method in interface com.sun.source.tree.TypeParameterTree
Returns the name of the type parameter.
getName() - Method in interface com.sun.source.tree.VariableTree
Returns the name of the variable being declared.
getName() - Method in interface com.sun.source.util.Plugin
Returns the user-friendly name of this plug-in.
getNameExpression() - Method in interface com.sun.source.tree.VariableTree
Returns the qualified identifier for the name being "declared".
getOriginalType(ErrorType) - Method in class com.sun.source.util.Trees
Returns the original type from the ErrorType object.
getPackage() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the package tree associated with this compilation unit, or null if there is no package declaration.
getPackageAnnotations() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the annotations listed on any package declaration at the head of this compilation unit, or null if there is no package declaration.
getPackageName() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the name contained in any package declaration at the head of this compilation unit, or null if there is no package declaration.
getPackageName() - Method in interface com.sun.source.tree.ExportsTree
Returns the name of the package to be exported.
getPackageName() - Method in interface com.sun.source.tree.OpensTree
Returns the name of the package to be opened.
getPackageName() - Method in interface com.sun.source.tree.PackageTree
Returns the name of the package being declared.
getParameter() - Method in interface com.sun.source.tree.CatchTree
Returns the catch variable.
getParameters() - Method in interface com.sun.source.tree.LambdaExpressionTree
Returns the parameters of this lambda expression.
getParameters() - Method in interface com.sun.source.tree.MethodTree
Returns the parameters of the method being declared.
getParentPath() - Method in class com.sun.source.util.DocTreePath
Returns the path for the enclosing node, or null if there is no enclosing node.
getParentPath() - Method in class com.sun.source.util.TreePath
Returns the path for the enclosing node, or null if there is no enclosing node.
getPath(CompilationUnitTree, Tree) - Static method in class com.sun.source.util.TreePath
Returns a tree path for a tree node within a compilation unit, or null if the node is not found.
getPath(CompilationUnitTree, Tree) - Method in class com.sun.source.util.Trees
Returns the path to tree node within the specified compilation unit.
getPath(DocTreePath, DocTree) - Static method in class com.sun.source.util.DocTreePath
Returns a documentation tree path for a tree node within a subtree identified by a DocTreePath object, or null if the node is not found.
getPath(TreePath, DocCommentTree, DocTree) - Static method in class com.sun.source.util.DocTreePath
Returns a documentation tree path for a tree node within a compilation unit, or null if the node is not found.
getPath(TreePath, Tree) - Static method in class com.sun.source.util.TreePath
Returns a tree path for a tree node within a subtree identified by a TreePath object.
getPath(Element) - Method in class com.sun.source.util.Trees
Returns the TreePath node for a given Element.
getPath(Element, AnnotationMirror) - Method in class com.sun.source.util.Trees
Returns the TreePath node for an AnnotationMirror on a given Element.
getPath(Element, AnnotationMirror, AnnotationValue) - Method in class com.sun.source.util.Trees
Returns the TreePath node for an AnnotationValue for an AnnotationMirror on a given Element.
getPosition(long, long) - Method in interface com.sun.source.tree.LineMap
Finds the position corresponding to a (line,column).
getPrimitiveTypeKind() - Method in interface com.sun.source.tree.PrimitiveTypeTree
Returns the kind of this primitive type.
getQualifiedIdentifier() - Method in interface com.sun.source.tree.ImportTree
Returns the qualified identifier for the declaration(s) being imported.
getQualifierExpression() - Method in interface com.sun.source.tree.MemberReferenceTree
Returns the qualifier expression for the reference.
getReceiverParameter() - Method in interface com.sun.source.tree.MethodTree
Return an explicit receiver parameter ("this" parameter), or null if none.
getReference() - Method in interface com.sun.source.doctree.LinkTree
Returns the reference of a link.
getReference() - Method in interface com.sun.source.doctree.SeeTree
Returns the reference.
getReference() - Method in interface com.sun.source.doctree.ValueTree
Returns the reference to the value.
getResources() - Method in interface com.sun.source.tree.TryTree
Returns any resource declarations provided in the try statement.
getReturnType() - Method in interface com.sun.source.tree.MethodTree
Returns the return type of the method being declared.
getRightOperand() - Method in interface com.sun.source.tree.BinaryTree
Returns the right (second) operand of the expression.
getScope(TreePath) - Method in class com.sun.source.util.Trees
Returns the Scope for the Tree node identified by a given TreePath.
getSearchTerm() - Method in interface com.sun.source.doctree.IndexTree
Returns the specified search term.
getServiceName() - Method in interface com.sun.source.tree.ProvidesTree
Returns the name of the service type being provided.
getServiceName() - Method in interface com.sun.source.tree.UsesTree
Returns the name of the service type.
getServiceType() - Method in interface com.sun.source.doctree.ProvidesTree
Returns the name of the service type being documented.
getServiceType() - Method in interface com.sun.source.doctree.UsesTree
Returns the name of the service type being documented.
getSignature() - Method in interface com.sun.source.doctree.ReferenceTree
Returns the signature of the Java language element being referenced, as found in @see and similar nodes.
getSimpleName() - Method in interface com.sun.source.tree.ClassTree
Returns the simple name of this type declaration.
getSourceFile() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the file object containing the source for this compilation unit.
getSourceFile() - Method in class com.sun.source.util.TaskEvent
Returns the source file for this event.
getSourcePositions() - Method in class com.sun.source.util.DocTrees
Returns a utility object for accessing the source positions of documentation tree nodes.
getSourcePositions() - Method in class com.sun.source.util.Trees
Returns a utility object for obtaining source positions.
getStartPosition(long) - Method in interface com.sun.source.tree.LineMap
Finds the start position of a line.
getStartPosition(CompilationUnitTree, DocCommentTree, DocTree) - Method in interface com.sun.source.util.DocSourcePositions
Returns the starting position of the tree within the comment within the file.
getStartPosition(CompilationUnitTree, Tree) - Method in interface com.sun.source.util.SourcePositions
Returns the starting position of tree within file.
getStatement() - Method in interface com.sun.source.tree.DoWhileLoopTree
Returns the body of the loop.
getStatement() - Method in interface com.sun.source.tree.EnhancedForLoopTree
Returns the body of the loop.
getStatement() - Method in interface com.sun.source.tree.ForLoopTree
Returns the body of the for statement.
getStatement() - Method in interface com.sun.source.tree.LabeledStatementTree
Returns the statement that is labeled.
getStatement() - Method in interface com.sun.source.tree.WhileLoopTree
Returns the body of the loop.
getStatements() - Method in interface com.sun.source.tree.BlockTree
Returns the statements comprising this block.
getStatements() - Method in interface com.sun.source.tree.CaseTree
Returns the statements labeled by the case.
getTagName() - Method in interface com.sun.source.doctree.BlockTagTree
Returns the name of the tag.
getTagName() - Method in interface com.sun.source.doctree.InlineTagTree
Returns the name of the tag.
getThenStatement() - Method in interface com.sun.source.tree.IfTree
Returns the statement to be executed if the condition is true
getThrows() - Method in interface com.sun.source.tree.MethodTree
Returns the exceptions listed as being thrown by this method.
getTree(Element) - Method in class com.sun.source.util.Trees
Returns the Tree node for a given Element.
getTree(Element, AnnotationMirror) - Method in class com.sun.source.util.Trees
Returns the Tree node for an AnnotationMirror on a given Element.
getTree(Element, AnnotationMirror, AnnotationValue) - Method in class com.sun.source.util.Trees
Returns the Tree node for an AnnotationValue for an AnnotationMirror on a given Element.
getTree(ExecutableElement) - Method in class com.sun.source.util.Trees
Returns the MethodTree node for a given ExecutableElement.
getTree(TypeElement) - Method in class com.sun.source.util.Trees
Returns the ClassTree node for a given TypeElement.
getTreePath() - Method in class com.sun.source.util.DocTreePath
Returns the TreePath associated with this path.
getTrueExpression() - Method in interface com.sun.source.tree.ConditionalExpressionTree
Returns the expression to be evaluated if the condition is true.
getType() - Method in interface com.sun.source.doctree.SerialFieldTree
Returns the type of the serial field.
getType() - Method in interface com.sun.source.tree.ArrayTypeTree
Returns the element type of this array type.
getType() - Method in interface com.sun.source.tree.InstanceOfTree
Returns the type for which to check.
getType() - Method in interface com.sun.source.tree.NewArrayTree
Returns the base type of the expression.
getType() - Method in interface com.sun.source.tree.ParameterizedTypeTree
Returns the base type.
getType() - Method in interface com.sun.source.tree.TypeCastTree
Returns the target type of the cast.
getType() - Method in interface com.sun.source.tree.VariableTree
Returns the type of the variable being declared.
getTypeAlternatives() - Method in interface com.sun.source.tree.UnionTypeTree
Returns the alternative type expressions.
getTypeArguments() - Method in interface com.sun.source.tree.MemberReferenceTree
Returns the type arguments for the reference.
getTypeArguments() - Method in interface com.sun.source.tree.MethodInvocationTree
Returns the type arguments for this method invocation.
getTypeArguments() - Method in interface com.sun.source.tree.NewClassTree
Returns the type arguments for the object being created.
getTypeArguments() - Method in interface com.sun.source.tree.ParameterizedTypeTree
Returns the type arguments.
getTypeDecls() - Method in interface com.sun.source.tree.CompilationUnitTree
Returns the type declarations appearing in this compilation unit.
getTypeElement() - Method in class com.sun.source.util.TaskEvent
Returns the type element for this event.
getTypeMirror(TreePath) - Method in class com.sun.source.util.Trees
Returns the TypeMirror for the Tree node identified by a given TreePath.
getTypeMirror(Iterable<? extends Tree>) - Method in class com.sun.source.util.JavacTask
Returns a type mirror of the tree node determined by the specified path.
getTypeParameters() - Method in interface com.sun.source.tree.ClassTree
Returns any type parameters of this type declaration.
getTypeParameters() - Method in interface com.sun.source.tree.MethodTree
Returns the type parameters of the method being declared.
getTypes() - Method in class com.sun.source.util.JavacTask
Returns a utility object for dealing with type mirrors.
getUnderlyingType() - Method in interface com.sun.source.tree.AnnotatedTypeTree
Returns the underlying type with which the annotations are associated.
getUpdate() - Method in interface com.sun.source.tree.ForLoopTree
Returns any update expressions of the for statement.
getValue() - Method in interface com.sun.source.doctree.AttributeTree
Returns the value of the attribute, or null if the kind is EMPTY.
getValue() - Method in interface com.sun.source.tree.LiteralTree
Returns the value of the literal expression.
getValueKind() - Method in interface com.sun.source.doctree.AttributeTree
Returns the kind of the attribute.
getVariable() - Method in interface com.sun.source.tree.AssignmentTree
Returns the variable being assigned to.
getVariable() - Method in interface com.sun.source.tree.CompoundAssignmentTree
Returns the variable on the left hand side of the compound assignment.
getVariable() - Method in interface com.sun.source.tree.EnhancedForLoopTree
Returns the control variable for the loop.
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links
Compiler Tree API
DRAFT 9-Ubuntu+0-9b151-2

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.

DRAFT 9-Ubuntu+0-9b151-2