Package org.kie.maven.plugin
Class BytecodeInjectReactive
- java.lang.Object
-
- org.kie.maven.plugin.BytecodeInjectReactive
-
public class BytecodeInjectReactive extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDROOLS_LIST_OF_TUPLESstatic StringDROOLS_PREFIXstatic StringFIELD_WRITER_PREFIXstatic org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description BytecodeInjectReactive(javassist.ClassPool cp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringclasspathFromClass(Class<?> clazz)Utility method for returning the (inferred) classpath of classloading from the given Class.protected voidenhanceAttributesAccess(Map<String,javassist.CtField> fieldsMap, javassist.CtClass managedCtClass)byte[]injectReactive(String classname)static BytecodeInjectReactivenewInstance(javassist.ClassPool cp)
-
-
-
Field Detail
-
DROOLS_PREFIX
public static final String DROOLS_PREFIX
- See Also:
- Constant Field Values
-
FIELD_WRITER_PREFIX
public static final String FIELD_WRITER_PREFIX
- See Also:
- Constant Field Values
-
DROOLS_LIST_OF_TUPLES
public static final String DROOLS_LIST_OF_TUPLES
- See Also:
- Constant Field Values
-
LOG
public static final org.slf4j.Logger LOG
-
-
Method Detail
-
newInstance
public static BytecodeInjectReactive newInstance(javassist.ClassPool cp)
-
classpathFromClass
public static String classpathFromClass(Class<?> clazz)
Utility method for returning the (inferred) classpath of classloading from the given Class.- Parameters:
clazz- the enclosing Class.- Returns:
- the (inferred) classpath of clazz
-
-