Package | Description |
---|---|
jmplib | |
jmplib.primitives | |
jmplib.primitives.impl |
Modifier and Type | Field and Description |
---|---|
protected java.util.Queue<Primitive> |
TransactionalIntercessor.primitives |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrimitive
The superclass of all primitives.
|
class |
AbstractReadPrimitive<T>
Simple children of the AbstractPrimtive that just reads information from
source files instead of changing the state of the source.
|
class |
FieldPrimitive
Superclass of all field primitives.
|
class |
MethodPrimitive
Superclass for all method primitives
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Queue<Primitive> |
PrimitiveExecutor.primitives |
Modifier and Type | Method and Description |
---|---|
static Primitive |
PrimitiveFactory.createAddAnnotationToClassPrimitive(java.lang.Class<?> clazz,
java.lang.Class<?>[] annotations)
Creates
createAddAnnotationToClassPrimitive |
static Primitive |
PrimitiveFactory.createAddAnnotationToMethodPrimitive(java.lang.reflect.Method met,
java.lang.Class<?>[] annotations)
Creates
createAddAnnotationToMethodPrimitive |
static Primitive |
PrimitiveFactory.createAddFieldPrimitive(java.lang.Class<?> clazz,
int modifiers,
java.lang.Class<?> type,
java.lang.String name,
java.lang.String init)
Creates
AddFieldPrimitive |
static Primitive |
PrimitiveFactory.createAddGenericTypeToClassPrimitive(java.lang.Class<?> clazz,
TypeVariable<?>[] tvs)
Creates
createAddGenericTypeToClassPrimitive |
static Primitive |
PrimitiveFactory.createAddGenericTypeToMethodPrimitive(java.lang.reflect.Method met,
TypeVariable<?>[] tvs)
Creates
createAddGenericTypeToMethodPrimitive |
static Primitive |
PrimitiveFactory.createAddImportPrimitive(java.lang.Class<?> clazz,
java.lang.String[] imports)
Creates
AddImportPrimitive |
static Primitive |
PrimitiveFactory.createAddInterfacePrimitive(java.lang.Class<?> clazz,
java.lang.Class<?> interf,
java.lang.Class<?>... typeParameters)
Creates
AddInterfacePrimitive |
static Primitive |
PrimitiveFactory.createAddMethodPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.invoke.MethodType type,
java.lang.String[] paramNames,
java.lang.String body,
int modifiers,
java.lang.Class<?>... exceptions)
Creates
AddMethodPrimitive |
static Primitive |
PrimitiveFactory.createAddMethodPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.invoke.MethodType type,
java.lang.String[] paramNames,
java.lang.String body,
int modifiers,
java.lang.reflect.Type[] genericParamTypes,
java.lang.reflect.Type genericReturnType,
TypeVariable<?>[] methodTypeParameters,
java.lang.Class<?>... exceptions)
Creates
AddMethodPrimitive |
static Primitive |
PrimitiveFactory.createDeleteFieldPrimitive(java.lang.Class<?> clazz,
java.lang.String name)
Creates
DeleteFieldPrimitive |
static Primitive |
PrimitiveFactory.createDeleteMethodPrimitive(java.lang.Class<?> clazz,
java.lang.String name)
Creates
DeleteMethodPrimitive |
static Primitive |
PrimitiveFactory.createDeleteMethodPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.invoke.MethodType type)
Creates
DeleteMethodPrimitive |
static Primitive |
PrimitiveFactory.createGetImportPrimitive(java.lang.Class<?> clazz)
Creates
GetImportPrimitive |
static Primitive |
PrimitiveFactory.createRemoveInterfacePrimitive(java.lang.Class<?> clazz,
java.lang.Class<?> interf)
Creates
RemoveInterfacePrimitive |
static Primitive |
PrimitiveFactory.createRemoveSuperClassPrimitive(java.lang.Class<?> clazz)
Creates
RemoveSuperClassPrimitive |
static Primitive |
PrimitiveFactory.createReplaceFieldPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?> newType,
java.lang.String newInit)
Creates
ReplaceFieldPrimitive |
static Primitive |
PrimitiveFactory.createReplaceImplementationPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.invoke.MethodType type,
java.lang.String body)
Creates
ReplaceImplementationPrimitive |
static Primitive |
PrimitiveFactory.createReplaceImplementationPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.String body)
Creates
ReplaceImplementationPrimitive |
static Primitive |
PrimitiveFactory.createReplaceMethodPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.invoke.MethodType methodType,
java.lang.invoke.MethodType newMethodType,
java.lang.String body)
Creates
ReplaceMethodPrimitive |
static Primitive |
PrimitiveFactory.createReplaceMethodPrimitive(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.invoke.MethodType newMethodType,
java.lang.String body)
Creates
ReplaceMethodPrimitive |
static Primitive |
PrimitiveFactory.createSetAnnotationToClassPrimitive(java.lang.Class<?> clazz,
java.lang.Class<?>[] annotations)
Creates
createSetAnnotationToClassPrimitive |
static Primitive |
PrimitiveFactory.createSetAnnotationToMethodPrimitive(java.lang.reflect.Method met,
java.lang.Class<?>[] annotations)
Creates
createSetAnnotationToMethodPrimitive |
static Primitive |
PrimitiveFactory.createSetGenericTypeToClassPrimitive(java.lang.Class<?> clazz,
TypeVariable<?>[] tvs)
Creates
createSetGenericTypeToClassPrimitive |
static Primitive |
PrimitiveFactory.createSetGenericTypeToMethodPrimitive(java.lang.reflect.Method met,
TypeVariable<?>[] tvs)
Creates
createSetGenericTypeToMethodPrimitive |
static Primitive |
PrimitiveFactory.createSetImportPrimitive(java.lang.Class<?> clazz,
java.lang.String[] imports)
Creates
SetImportPrimitive |
static Primitive |
PrimitiveFactory.createSetSuperClassPrimitive(java.lang.Class<?> clazz,
java.lang.Class<?> superclazz,
java.lang.Class<?>... typeParameters)
Creates
SetSuperClassPrimitive |
Constructor and Description |
---|
PrimitiveExecutor(Primitive primitive) |
ThreadSafePrimitiveExecutor(Primitive primitive) |
Constructor and Description |
---|
PrimitiveExecutor(java.util.Queue<Primitive> primitives) |
ThreadSafePrimitiveExecutor(java.util.Queue<Primitive> primitives) |
Modifier and Type | Class and Description |
---|---|
class |
AddAnnotationToClassPrimitive
This class adds new annotations to existing classes.
|
class |
AddAnnotationToMethodPrimitive
This class adds new annotations to existing classes.
|
class |
AddFieldPrimitive
This primitive class adds a new field and its auxiliar methods to one class
|
class |
AddGenericTypeToClassPrimitive
This class adds new annotations to existing classes.
|
class |
AddGenericTypeToMethodPrimitive
This class adds new annotations to existing classes.
|
class |
AddImportPrimitive
This class adds new imports to the files of existing classes.
|
class |
AddInterfacePrimitive
This class adds new interfaces to existing classes.
|
class |
AddMethodPrimitive
This class adds new methods to existing class source code.
|
class |
DeleteFieldPrimitive
Deletes a field of one class
|
class |
DeleteMethodPrimitive
Deletes one method from the class
|
class |
GetImportPrimitive
This class gets imports from the files of existing classes.
|
class |
RemoveInterfacePrimitive
This class adds new interfaces to existing classes.
|
class |
RemoveSuperClassPrimitive
This class removes the superclass of existing classes.
|
class |
ReplaceFieldPrimitive
Replaces one field
|
class |
ReplaceImplementationPrimitive
Replace the implementation of one method
|
class |
ReplaceMethodPrimitive
Replaces one method
|
class |
SetAnnotationToClassPrimitive
This class sets new annotations to existing classes.
|
class |
SetAnnotationToMethodPrimitive
This class sets new annotations to existing methods.
|
class |
SetGenericTypeToClassPrimitive
This class sets new annotations to existing classes.
|
class |
SetGenericTypeToMethodPrimitive
This class sets new annotations to existing methods.
|
class |
SetImportPrimitive
This class adds new imports to the files of existing classes.
|
class |
SetSuperClassPrimitive
This class adds modifies the superclass of existing classes.
|