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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetApp, startprotected final void reset()
reset in class AppCodeScannerBasepublic void visit(int lineNumber,
java.lang.String line,
java.lang.String className)
AppSourceCodeScannerVisit the source code line. The implementation shall set the internal state by inspecting the line
visit in interface AppSourceCodeScannerpublic boolean triggerBytecodeScanning()
AppSourceCodeScannerAfter 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 AppSourceCodeScannertrue 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 AppCodeScannerBaseCopyright © 2014–2017 ActFramework. All rights reserved.