@Exported public abstract class AbstractExprCodeSource extends java.lang.Object implements ExprCodeSource
ExprCodeSource.Type
DEFAULT_CODE_SOURCE_NAME, DYNAMIC_CODE_SOURCE_NAME, DYNAMIC_CODESOURCE_DISABLE, DYNAMIC_CODESOURCE_ENABLE, ENTITY_SOURCE_PATH, GLOBAL_SOURCE_PATH, mLogger, MOM_PROTOCOL, PERSONALIZED_CODE_SOURCE_NAME, SCRIPT_CLASS_SOURCE_PATH, TMP_CODE_SOURCE_NAME, VIEW_SOURCE_PATH
Constructor and Description |
---|
AbstractExprCodeSource() |
Modifier and Type | Method and Description |
---|---|
int |
calculateOffset(ExprDef exprDef) |
java.util.Map<java.lang.String,byte[]> |
getClassData(java.lang.String name) |
int |
getDefScope() |
static java.lang.String |
getScriptText(java.io.Reader reader) |
java.lang.String |
getSourceFileName()
A name that a debugger source manager may be used to lookup the
CodeSource or the script text associated with the CodeSource.
|
void |
invalidateCache() |
static void |
invalidateCache(ExprCodeSource codeSource) |
ExprDef |
lookupExprDef(int linenum) |
void |
storeClassData(java.lang.String name,
byte[] classData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExpression, getCacheKey, getClassName, getContentType, getExpressionSource, getName, getScriptReader, getScriptText, getType, hasExpression, lookupExprDef, removeExpression
@Concealed public int calculateOffset(ExprDef exprDef)
calculateOffset
in interface ExprCodeSource
public java.lang.String getSourceFileName()
ExprCodeSource
getSourceFileName
in interface ExprCodeSource
public java.util.Map<java.lang.String,byte[]> getClassData(java.lang.String name)
getClassData
in interface ExprCodeSource
public void storeClassData(java.lang.String name, byte[] classData)
storeClassData
in interface ExprCodeSource
@Concealed public void invalidateCache()
invalidateCache
in interface ExprCodeSource
@Concealed public ExprDef lookupExprDef(int linenum)
lookupExprDef
in interface ExprCodeSource
@Concealed public int getDefScope()
getDefScope
in interface ExprCodeSource
@Concealed public static void invalidateCache(ExprCodeSource codeSource)
@Concealed public static java.lang.String getScriptText(java.io.Reader reader)