| java.lang.Object com.sun.tools.javac.tree.TreeCopier
TreeCopier | public class TreeCopier implements TreeVisitor<JCTree, P>(Code) | | Creates a copy of a tree, using a given TreeMaker.
Names, literal values, etc are shared with the original.
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
|
Method Summary | |
public T | copy(T tree) | public T | copy(T tree, P p) | public List<T> | copy(List<T> trees) | public List<T> | copy(List<T> trees, P p) | public JCTree | visitAnnotation(AnnotationTree node, P p) | public JCTree | visitArrayAccess(ArrayAccessTree node, P p) | public JCTree | visitArrayType(ArrayTypeTree node, P p) | public JCTree | visitAssert(AssertTree node, P p) | public JCTree | visitAssignment(AssignmentTree node, P p) | public JCTree | visitBinary(BinaryTree node, P p) | public JCTree | visitBlock(BlockTree node, P p) | public JCTree | visitBreak(BreakTree node, P p) | public JCTree | visitCase(CaseTree node, P p) | public JCTree | visitCatch(CatchTree node, P p) | public JCTree | visitClass(ClassTree node, P p) | public JCTree | visitCompilationUnit(CompilationUnitTree node, P p) | public JCTree | visitCompoundAssignment(CompoundAssignmentTree node, P p) | public JCTree | visitConditionalExpression(ConditionalExpressionTree node, P p) | public JCTree | visitContinue(ContinueTree node, P p) | public JCTree | visitDoWhileLoop(DoWhileLoopTree node, P p) | public JCTree | visitEmptyStatement(EmptyStatementTree node, P p) | public JCTree | visitEnhancedForLoop(EnhancedForLoopTree node, P p) | public JCTree | visitErroneous(ErroneousTree node, P p) | public JCTree | visitExpressionStatement(ExpressionStatementTree node, P p) | public JCTree | visitForLoop(ForLoopTree node, P p) | public JCTree | visitIdentifier(IdentifierTree node, P p) | public JCTree | visitIf(IfTree node, P p) | public JCTree | visitImport(ImportTree node, P p) | public JCTree | visitInstanceOf(InstanceOfTree node, P p) | public JCTree | visitLabeledStatement(LabeledStatementTree node, P p) | public JCTree | visitLiteral(LiteralTree node, P p) | public JCTree | visitMemberSelect(MemberSelectTree node, P p) | public JCTree | visitMethod(MethodTree node, P p) | public JCTree | visitMethodInvocation(MethodInvocationTree node, P p) | public JCTree | visitModifiers(ModifiersTree node, P p) | public JCTree | visitNewArray(NewArrayTree node, P p) | public JCTree | visitNewClass(NewClassTree node, P p) | public JCTree | visitOther(Tree node, P p) | public JCTree | visitParameterizedType(ParameterizedTypeTree node, P p) | public JCTree | visitParenthesized(ParenthesizedTree node, P p) | public JCTree | visitPrimitiveType(PrimitiveTypeTree node, P p) | public JCTree | visitReturn(ReturnTree node, P p) | public JCTree | visitSwitch(SwitchTree node, P p) | public JCTree | visitSynchronized(SynchronizedTree node, P p) | public JCTree | visitThrow(ThrowTree node, P p) | public JCTree | visitTry(TryTree node, P p) | public JCTree | visitTypeCast(TypeCastTree node, P p) | public JCTree | visitTypeParameter(TypeParameterTree node, P p) | public JCTree | visitUnary(UnaryTree node, P p) | public JCTree | visitVariable(VariableTree node, P p) | public JCTree | visitWhileLoop(WhileLoopTree node, P p) | public JCTree | visitWildcard(WildcardTree node, P p) |
TreeCopier | public TreeCopier(TreeMaker M)(Code) | | Creates a new instance of TreeCopier
|
copy | public T copy(T tree)(Code) | | |
copy | public T copy(T tree, P p)(Code) | | |
|
|