|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectabc.main.AbcExtension
abc.eaj.AbcExtension
public class AbcExtension
| Constructor Summary | |
|---|---|
AbcExtension()
|
|
| Method Summary | |
|---|---|
void |
addBasicClassesToSoot()
Call Scene.v().addBasicClass for each runtime class that the backend might generate code for. |
protected void |
collectVersions(java.lang.StringBuffer versions)
Override this method to add the version information for this extension, calling the same method in the super-class to ensure that all extensions are reported. |
SJPInfo |
createSJPInfo(java.lang.String kind,
java.lang.String signatureTypeClass,
java.lang.String signatureType,
java.lang.String signature,
Host host)
Create a (compile-time) static join point information object that generates code to initialize static join point fields with reflective information about a join point. |
protected Weaver |
createWeaver()
Override this to create a custom weaver. |
void |
doMethodRestructuring()
This method is called right after "declare parents" has been processed and all Jimple bodies have been loaded. |
void |
initLexerKeywords(AbcLexer lexer)
Initialise the HashMaps that define how keywords are handled in the different lexer states. |
protected java.util.List |
listShadowTypes()
Override this method to add new joinpoints to the abc. |
AdviceInliner |
makeAdviceInliner()
Make a new AdviceInliner, which is responsible for inlining advice bodies, as well as pointcuts which are implemented by methods, such as if. |
ExtensionInfo |
makeExtensionInfo(java.util.Collection jar_classes,
java.util.Collection aspect_sources)
Creates an instance of the ExtensionInfo structure
used for extending the Polyglot-based frontend. |
java.lang.String |
runtimeSJPFactoryClass()
Specify the class that will be used at runtime to generate StaticJoinPoint objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbcExtension()
| Method Detail |
|---|
protected void collectVersions(java.lang.StringBuffer versions)
AbcExtension
collectVersions in class AbcExtension
public ExtensionInfo makeExtensionInfo(java.util.Collection jar_classes,
java.util.Collection aspect_sources)
AbcExtensionExtensionInfo structure
used for extending the Polyglot-based frontend.
makeExtensionInfo in class AbcExtensionprotected java.util.List listShadowTypes()
AbcExtension
listShadowTypes in class AbcExtensionpublic AdviceInliner makeAdviceInliner()
AbcExtension
makeAdviceInliner in class AbcExtensionpublic void addBasicClassesToSoot()
AbcExtension
addBasicClassesToSoot in class AbcExtensionpublic java.lang.String runtimeSJPFactoryClass()
AbcExtension
runtimeSJPFactoryClass in class AbcExtension
public SJPInfo createSJPInfo(java.lang.String kind,
java.lang.String signatureTypeClass,
java.lang.String signatureType,
java.lang.String signature,
Host host)
createSJPInfo in class AbcExtensionprotected Weaver createWeaver()
AbcExtension
createWeaver in class AbcExtensionpublic void initLexerKeywords(AbcLexer lexer)
AbcExtension
initLexerKeywords in class AbcExtensionpublic void doMethodRestructuring()
AbcExtension
doMethodRestructuring in class AbcExtension
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||