public class ByteKeepingASMBDIClassGenerator extends ASMBDIClassGenerator
AbstractAsmBdiClassGenerator.MethodBeliefsmethoddc1, methoddc2nodehelper, ophelperAGENT_FIELD_NAME, DYNAMIC_BELIEF_UPDATEMETHOD_PREFIX, GLOBALNAME_FIELD_NAME, INIT_EXPRESSIONS_METHOD_PREFIX| Constructor and Description |
|---|
ByteKeepingASMBDIClassGenerator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearRecentClassBytes()
Clear the list of recently generated classes.
|
java.util.Map<java.lang.String,byte[]> |
getRecentClassBytes()
Get the recently generated classes as byte array.
|
java.lang.Class<?> |
toClass(java.lang.String name,
byte[] data,
java.lang.ClassLoader loader,
java.security.ProtectionDomain domain)
Transform byte Array into Class and define it in classloader.
|
enhanceSetter, findBeliefs, findParameters, generateBDIClass, generateBDIClass, main, makeObject, replaceNativeGetter, replaceNativeSetter, transformArrayStores, transformConstructoraddBeliefEventsToConditions, checkEnhanced, findMethodBelief, getGoal, isAgentClass, isAgentOrCapa, isEnhanced, isGoal, isGoalClass, isPlan, isPlanClass, isPlanMethod, transformClassNodepublic ByteKeepingASMBDIClassGenerator()
public java.lang.Class<?> toClass(java.lang.String name,
byte[] data,
java.lang.ClassLoader loader,
java.security.ProtectionDomain domain)
ASMBDIClassGeneratortoClass in class ASMBDIClassGeneratornull, if the class is not valid, such as Map.entry "inner Classes".public java.util.Map<java.lang.String,byte[]> getRecentClassBytes()
public void clearRecentClassBytes()