com.sun.source.util
クラス SimpleTreeVisitor<R,P>
java.lang.Object
com.sun.source.util.SimpleTreeVisitor<R,P>
- すべての実装されたインタフェース:
- TreeVisitor<R,P>
public class SimpleTreeVisitor<R,P>
- extends Object
- implements TreeVisitor<R,P>
ツリーノードへの単純なビジターです。
- 導入されたバージョン:
- 1.6
メソッドの概要 |
protected R |
defaultAction(Tree node,
P p)
|
R |
visit(Iterable<? extends Tree> nodes,
P p)
|
R |
visit(Tree node,
P p)
|
R |
visitAnnotation(AnnotationTree node,
P p)
|
R |
visitArrayAccess(ArrayAccessTree node,
P p)
|
R |
visitArrayType(ArrayTypeTree node,
P p)
|
R |
visitAssert(AssertTree node,
P p)
|
R |
visitAssignment(AssignmentTree node,
P p)
|
R |
visitBinary(BinaryTree node,
P p)
|
R |
visitBlock(BlockTree node,
P p)
|
R |
visitBreak(BreakTree node,
P p)
|
R |
visitCase(CaseTree node,
P p)
|
R |
visitCatch(CatchTree node,
P p)
|
R |
visitClass(ClassTree node,
P p)
|
R |
visitCompilationUnit(CompilationUnitTree node,
P p)
|
R |
visitCompoundAssignment(CompoundAssignmentTree node,
P p)
|
R |
visitConditionalExpression(ConditionalExpressionTree node,
P p)
|
R |
visitContinue(ContinueTree node,
P p)
|
R |
visitDoWhileLoop(DoWhileLoopTree node,
P p)
|
R |
visitEmptyStatement(EmptyStatementTree node,
P p)
|
R |
visitEnhancedForLoop(EnhancedForLoopTree node,
P p)
|
R |
visitErroneous(ErroneousTree node,
P p)
|
R |
visitExpressionStatement(ExpressionStatementTree node,
P p)
|
R |
visitForLoop(ForLoopTree node,
P p)
|
R |
visitIdentifier(IdentifierTree node,
P p)
|
R |
visitIf(IfTree node,
P p)
|
R |
visitImport(ImportTree node,
P p)
|
R |
visitInstanceOf(InstanceOfTree node,
P p)
|
R |
visitLabeledStatement(LabeledStatementTree node,
P p)
|
R |
visitLiteral(LiteralTree node,
P p)
|
R |
visitMemberSelect(MemberSelectTree node,
P p)
|
R |
visitMethod(MethodTree node,
P p)
|
R |
visitMethodInvocation(MethodInvocationTree node,
P p)
|
R |
visitModifiers(ModifiersTree node,
P p)
|
R |
visitNewArray(NewArrayTree node,
P p)
|
R |
visitNewClass(NewClassTree node,
P p)
|
R |
visitOther(Tree node,
P p)
|
R |
visitParameterizedType(ParameterizedTypeTree node,
P p)
|
R |
visitParenthesized(ParenthesizedTree node,
P p)
|
R |
visitPrimitiveType(PrimitiveTypeTree node,
P p)
|
R |
visitReturn(ReturnTree node,
P p)
|
R |
visitSwitch(SwitchTree node,
P p)
|
R |
visitSynchronized(SynchronizedTree node,
P p)
|
R |
visitThrow(ThrowTree node,
P p)
|
R |
visitTry(TryTree node,
P p)
|
R |
visitTypeCast(TypeCastTree node,
P p)
|
R |
visitTypeParameter(TypeParameterTree node,
P p)
|
R |
visitUnary(UnaryTree node,
P p)
|
R |
visitVariable(VariableTree node,
P p)
|
R |
visitWhileLoop(WhileLoopTree node,
P p)
|
R |
visitWildcard(WildcardTree node,
P p)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_VALUE
protected final R DEFAULT_VALUE
SimpleTreeVisitor
protected SimpleTreeVisitor()
SimpleTreeVisitor
protected SimpleTreeVisitor(R defaultValue)
defaultAction
protected R defaultAction(Tree node,
P p)
visit
public final R visit(Tree node,
P p)
visit
public final R visit(Iterable<? extends Tree> nodes,
P p)
visitCompilationUnit
public R visitCompilationUnit(CompilationUnitTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitCompilationUnit
visitImport
public R visitImport(ImportTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitImport
visitClass
public R visitClass(ClassTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitClass
visitMethod
public R visitMethod(MethodTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitMethod
visitVariable
public R visitVariable(VariableTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitVariable
visitEmptyStatement
public R visitEmptyStatement(EmptyStatementTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitEmptyStatement
visitBlock
public R visitBlock(BlockTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitBlock
visitDoWhileLoop
public R visitDoWhileLoop(DoWhileLoopTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitDoWhileLoop
visitWhileLoop
public R visitWhileLoop(WhileLoopTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitWhileLoop
visitForLoop
public R visitForLoop(ForLoopTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitForLoop
visitEnhancedForLoop
public R visitEnhancedForLoop(EnhancedForLoopTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitEnhancedForLoop
visitLabeledStatement
public R visitLabeledStatement(LabeledStatementTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitLabeledStatement
visitSwitch
public R visitSwitch(SwitchTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitSwitch
visitCase
public R visitCase(CaseTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitCase
visitSynchronized
public R visitSynchronized(SynchronizedTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitSynchronized
visitTry
public R visitTry(TryTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitTry
visitCatch
public R visitCatch(CatchTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitCatch
visitConditionalExpression
public R visitConditionalExpression(ConditionalExpressionTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitConditionalExpression
visitIf
public R visitIf(IfTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitIf
visitExpressionStatement
public R visitExpressionStatement(ExpressionStatementTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitExpressionStatement
visitBreak
public R visitBreak(BreakTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitBreak
visitContinue
public R visitContinue(ContinueTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitContinue
visitReturn
public R visitReturn(ReturnTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitReturn
visitThrow
public R visitThrow(ThrowTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitThrow
visitAssert
public R visitAssert(AssertTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitAssert
visitMethodInvocation
public R visitMethodInvocation(MethodInvocationTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitMethodInvocation
visitNewClass
public R visitNewClass(NewClassTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitNewClass
visitNewArray
public R visitNewArray(NewArrayTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitNewArray
visitParenthesized
public R visitParenthesized(ParenthesizedTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitParenthesized
visitAssignment
public R visitAssignment(AssignmentTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitAssignment
visitCompoundAssignment
public R visitCompoundAssignment(CompoundAssignmentTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitCompoundAssignment
visitUnary
public R visitUnary(UnaryTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitUnary
visitBinary
public R visitBinary(BinaryTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitBinary
visitTypeCast
public R visitTypeCast(TypeCastTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitTypeCast
visitInstanceOf
public R visitInstanceOf(InstanceOfTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitInstanceOf
visitArrayAccess
public R visitArrayAccess(ArrayAccessTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitArrayAccess
visitMemberSelect
public R visitMemberSelect(MemberSelectTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitMemberSelect
visitIdentifier
public R visitIdentifier(IdentifierTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitIdentifier
visitLiteral
public R visitLiteral(LiteralTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitLiteral
visitPrimitiveType
public R visitPrimitiveType(PrimitiveTypeTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitPrimitiveType
visitArrayType
public R visitArrayType(ArrayTypeTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitArrayType
visitParameterizedType
public R visitParameterizedType(ParameterizedTypeTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitParameterizedType
visitTypeParameter
public R visitTypeParameter(TypeParameterTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitTypeParameter
visitWildcard
public R visitWildcard(WildcardTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitWildcard
visitModifiers
public R visitModifiers(ModifiersTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitModifiers
visitAnnotation
public R visitAnnotation(AnnotationTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitAnnotation
visitErroneous
public R visitErroneous(ErroneousTree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitErroneous
visitOther
public R visitOther(Tree node,
P p)
- 定義:
- インタフェース
TreeVisitor<R,P>
内の visitOther
Report a bug or request a feature.
Copyright Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.