Groovy 2.2.0

org.codehaus.groovy.tools.gse
[Java] Class DependencyTracker

java.lang.Object
  org.codehaus.groovy.ast.CodeVisitorSupport
      org.codehaus.groovy.ast.ClassCodeVisitorSupport
          org.codehaus.groovy.tools.gse.DependencyTracker

public class DependencyTracker
extends ClassCodeVisitorSupport

Constructor Summary
DependencyTracker(SourceUnit source, StringSetMap cache)

DependencyTracker(SourceUnit source, StringSetMap cache, Map precompiledEntries)

 
Method Summary
protected SourceUnit getSourceUnit()

void visitAnnotations(AnnotatedNode node)

void visitArrayExpression(ArrayExpression expression)

void visitCastExpression(CastExpression expression)

void visitCatchStatement(CatchStatement statement)

void visitClass(ClassNode node)

void visitClassExpression(ClassExpression expression)

void visitConstructorCallExpression(ConstructorCallExpression call)

void visitField(FieldNode node)

void visitMethod(MethodNode node)

void visitVariableExpression(VariableExpression expression)

 
Methods inherited from class ClassCodeVisitorSupport
addError, getSourceUnit, visitAnnotations, visitAssertStatement, visitBlockStatement, visitBreakStatement, visitCaseStatement, visitCatchStatement, visitClass, visitClassCodeContainer, visitConstructor, visitConstructorOrMethod, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitExpressionStatement, visitField, visitForLoop, visitIfElse, visitImports, visitMethod, visitObjectInitializerStatements, visitPackage, visitProperty, visitReturnStatement, visitStatement, visitSwitch, visitSynchronizedStatement, visitThrowStatement, visitTryCatchFinally, visitWhileLoop
 
Methods inherited from class CodeVisitorSupport
visitArgumentlistExpression, visitArrayExpression, visitAssertStatement, visitAttributeExpression, visitBinaryExpression, visitBitwiseNegationExpression, visitBlockStatement, visitBooleanExpression, visitBreakStatement, visitBytecodeExpression, visitCaseStatement, visitCastExpression, visitCatchStatement, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstantExpression, visitConstructorCallExpression, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitEmptyStatement, visitExpressionStatement, visitFieldExpression, visitForLoop, visitGStringExpression, visitIfElse, visitListExpression, visitListOfExpressions, visitMapEntryExpression, visitMapExpression, visitMethodCallExpression, visitMethodPointerExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitPropertyExpression, visitRangeExpression, visitReturnStatement, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitSwitch, visitSynchronizedStatement, visitTernaryExpression, visitThrowStatement, visitTryCatchFinally, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitVariableExpression, visitWhileLoop
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

DependencyTracker

public DependencyTracker(SourceUnit source, StringSetMap cache)


DependencyTracker

public DependencyTracker(SourceUnit source, StringSetMap cache, Map precompiledEntries)


 
Method Detail

getSourceUnit

@Override
protected SourceUnit getSourceUnit()


visitAnnotations

@Override
public void visitAnnotations(AnnotatedNode node)


visitArrayExpression

@Override
public void visitArrayExpression(ArrayExpression expression)


visitCastExpression

@Override
public void visitCastExpression(CastExpression expression)


visitCatchStatement

@Override
public void visitCatchStatement(CatchStatement statement)


visitClass

@Override
public void visitClass(ClassNode node)


visitClassExpression

@Override
public void visitClassExpression(ClassExpression expression)


visitConstructorCallExpression

@Override
public void visitConstructorCallExpression(ConstructorCallExpression call)


visitField

@Override
public void visitField(FieldNode node)


visitMethod

@Override
public void visitMethod(MethodNode node)


visitVariableExpression

@Override
public void visitVariableExpression(VariableExpression expression)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.