public class MethodReferenceTreeImpl extends AbstractTypedTree implements MethodReferenceTree
JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
grammarRuleKey
Constructor and Description |
---|
MethodReferenceTreeImpl(Tree expression,
InternalSyntaxToken doubleColon) |
Modifier and Type | Method and Description |
---|---|
void |
accept(TreeVisitor visitor) |
Iterable<Tree> |
children()
Creates iterable for children of this node.
|
void |
complete(TypeArguments typeArgument,
IdentifierTreeImpl method) |
SyntaxToken |
doubleColon() |
Tree |
expression() |
Tree.Kind |
kind() |
IdentifierTree |
method() |
TypeArguments |
typeArguments() |
isTypeSet, setInferedType, setType, symbolType
getChildren, getGrammarRuleKey, getLine, is, isLeaf, parent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
symbolType
public MethodReferenceTreeImpl(Tree expression, InternalSyntaxToken doubleColon)
public void complete(@Nullable TypeArguments typeArgument, IdentifierTreeImpl method)
public void accept(TreeVisitor visitor)
public Iterable<Tree> children()
JavaTree
null
elements.public Tree expression()
expression
in interface MethodReferenceTree
public SyntaxToken doubleColon()
doubleColon
in interface MethodReferenceTree
public IdentifierTree method()
method
in interface MethodReferenceTree
@Nullable public TypeArguments typeArguments()
typeArguments
in interface MethodReferenceTree
Copyright © 2012–2016 SonarSource. All rights reserved.