org.sonar.java.bytecode
Class BytecodeScanner
java.lang.Object
org.sonar.squid.api.CodeScanner<BytecodeVisitor>
org.sonar.java.bytecode.BytecodeScanner
public class BytecodeScanner
- extends org.sonar.squid.api.CodeScanner<BytecodeVisitor>
|
Constructor Summary |
BytecodeScanner(org.sonar.squid.indexer.SquidIndex indexer)
|
| Methods inherited from class org.sonar.squid.api.CodeScanner |
getVisitors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytecodeScanner
public BytecodeScanner(org.sonar.squid.indexer.SquidIndex indexer)
scan
public BytecodeScanner scan(Collection<File> bytecodeFilesOrDirectories)
scanDirectory
public BytecodeScanner scanDirectory(File bytecodeDirectory)
scan
protected BytecodeScanner scan(Collection<org.sonar.squid.api.SourceCode> classes,
AsmClassProvider classProvider)
getVisitorClasses
public Collection<Class<? extends BytecodeVisitor>> getVisitorClasses()
- Specified by:
getVisitorClasses in class org.sonar.squid.api.CodeScanner<BytecodeVisitor>
accept
public void accept(org.sonar.squid.api.CodeVisitor visitor)
- Overrides:
accept in class org.sonar.squid.api.CodeScanner<BytecodeVisitor>
Copyright © 2012 SonarSource. All Rights Reserved.