public abstract class AppSourceCodeScannerBase extends AppCodeScannerBase implements AppSourceCodeScanner
Base class to implement the AppSourceCodeScanner
logger
Constructor and Description |
---|
AppSourceCodeScannerBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
_visit(int lineNumber,
java.lang.String line,
java.lang.String className) |
protected void |
markScanByteCode() |
protected void |
reset() |
protected abstract boolean |
shouldScan(java.lang.String className) |
boolean |
triggerBytecodeScanning()
After scanning of a certain
Source has been finished, framework will call this method to check if further byte code scanning is needed on the class |
void |
visit(int lineNumber,
java.lang.String line,
java.lang.String className)
Visit the source code line.
|
app, config, equals, hashCode, onAppSet, reset, setApp, start, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setApp, start
protected final void reset()
reset
in class AppCodeScannerBase
public void visit(int lineNumber, java.lang.String line, java.lang.String className)
AppSourceCodeScanner
Visit the source code line. The implementation shall set the internal state by inspecting the line
visit
in interface AppSourceCodeScanner
public boolean triggerBytecodeScanning()
AppSourceCodeScanner
After scanning of a certain Source
has been finished, framework will call this method to check if further byte code scanning is needed on the class
triggerBytecodeScanning
in interface AppSourceCodeScanner
true
if it needs further bytecode scanning on the classprotected void markScanByteCode()
protected abstract void _visit(int lineNumber, java.lang.String line, java.lang.String className)
protected abstract boolean shouldScan(java.lang.String className)
shouldScan
in class AppCodeScannerBase
Copyright © 2014–2017 ActFramework. All rights reserved.