- AbstractPrimitive - Class in jmplib.primitives
-
The superclass of all primitives.
- AbstractPrimitive(ClassContent) - Constructor for class jmplib.primitives.AbstractPrimitive
-
- AbstractReadPrimitive<T> - Class in jmplib.primitives
-
Simple children of the AbstractPrimtive that just reads information from
source files instead of changing the state of the source.
- AbstractReadPrimitive(ClassContent) - Constructor for class jmplib.primitives.AbstractReadPrimitive
-
- AbstractTransformer - Class in jmplib.agent
-
Superclass of all transformers of the library.
- AbstractTransformer() - Constructor for class jmplib.agent.AbstractTransformer
-
- accesibleObject2Method(AccessibleObject) - Static method in class jmplib.util.intercessor.IntercessorTypeConversion
-
Converts from an AccessibleObject to a jmplib.reflectMethod
- addAnnotation(Type, Type...) - Method in interface jmplib.IIntercessor
-
Add the provided annotations to the specified class.
- addAnnotation(Method, Type...) - Method in interface jmplib.IIntercessor
-
Add the provided annotations to the specified method.
- addAnnotation(Method, Type...) - Method in interface jmplib.IIntercessor
-
- addAnnotation(Type, Type...) - Method in class jmplib.SimpleIntercessor
-
Add the provided annotations to the specified class.
- addAnnotation(Method, Type...) - Method in class jmplib.SimpleIntercessor
- addAnnotation(Type, Type...) - Method in class jmplib.TransactionalIntercessor
-
Add the provided annotations to the specified class.
- addAnnotation(Method, Type...) - Method in class jmplib.TransactionalIntercessor
- AddAnnotationToClassPrimitive - Class in jmplib.primitives.impl
-
This class adds new annotations to existing classes.
- AddAnnotationToClassPrimitive(String, ClassContent, Class<?>[]) - Constructor for class jmplib.primitives.impl.AddAnnotationToClassPrimitive
-
- AddAnnotationToMethodPrimitive - Class in jmplib.primitives.impl
-
This class adds new annotations to existing classes.
- AddAnnotationToMethodPrimitive(Method, ClassContent, Class<?>[]) - Constructor for class jmplib.primitives.impl.AddAnnotationToMethodPrimitive
-
- addField(Type, Field...) - Method in interface jmplib.IIntercessor
-
Adds fields to the specified class
For example:
Intercessor.addField(Person.class, new jmplib.reflect.Field(String.class, "lastName"));
- addField(Type, Field...) - Method in interface jmplib.IIntercessor
-
- addField(Type, Field...) - Method in class jmplib.SimpleIntercessor
- addField(Type, Field...) - Method in class jmplib.TransactionalIntercessor
- AddFieldPrimitive - Class in jmplib.primitives.impl
-
This primitive class adds a new field and its auxiliar methods to one class
- AddFieldPrimitive(ClassContent, int, Class<?>, String, String) - Constructor for class jmplib.primitives.impl.AddFieldPrimitive
-
- addGenericType(Type, TypeVariable<?>...) - Method in interface jmplib.IIntercessor
-
Add the provided generic type to the specified class.
- addGenericType(Method, TypeVariable<?>...) - Method in interface jmplib.IIntercessor
-
Add the provided generic types to the specified method.
- addGenericType(Method, TypeVariable<?>...) - Method in interface jmplib.IIntercessor
-
- addGenericType(Type, TypeVariable<?>...) - Method in class jmplib.SimpleIntercessor
-
Add the provided generic type to the specified class.
- addGenericType(Method, TypeVariable<?>...) - Method in class jmplib.SimpleIntercessor
- addGenericType(Type, TypeVariable<?>...) - Method in class jmplib.TransactionalIntercessor
-
Add the provided generic type to the specified class.
- addGenericType(Method, TypeVariable<?>...) - Method in class jmplib.TransactionalIntercessor
- addGenericTypes(StringBuffer, TypeVariable<?>[]) - Static method in class jmplib.reflect.IntrospectionUtils
-
Adds the type variable generic declaration (i. e.
- AddGenericTypeToClassPrimitive - Class in jmplib.primitives.impl
-
This class adds new annotations to existing classes.
- AddGenericTypeToClassPrimitive(String, ClassContent, TypeVariable<?>[]) - Constructor for class jmplib.primitives.impl.AddGenericTypeToClassPrimitive
-
- AddGenericTypeToMethodPrimitive - Class in jmplib.primitives.impl
-
This class adds new annotations to existing classes.
- AddGenericTypeToMethodPrimitive(Method, ClassContent, TypeVariable<?>[]) - Constructor for class jmplib.primitives.impl.AddGenericTypeToMethodPrimitive
-
- addImport(Type, Class<?>...) - Method in interface jmplib.IIntercessor
-
Add the provided imports to the source file that defines the specified class.
- addImport(Type, Package...) - Method in interface jmplib.IIntercessor
-
Add the provided imports to the source file that defines the specified class.
- addImport(Type, Class<?>...) - Method in interface jmplib.IIntercessor
-
- addImport(Type, Class<?>...) - Method in class jmplib.SimpleIntercessor
- addImport(Type, Package...) - Method in class jmplib.SimpleIntercessor
-
Add the provided imports to the source file that defines the specified class.
- addImport(Type, Class<?>...) - Method in class jmplib.TransactionalIntercessor
- addImport(Type, Package...) - Method in class jmplib.TransactionalIntercessor
-
Add the provided imports to the source file that defines the specified class.
- AddImportPrimitive - Class in jmplib.primitives.impl
-
This class adds new imports to the files of existing classes.
- AddImportPrimitive(ClassContent, String[]) - Constructor for class jmplib.primitives.impl.AddImportPrimitive
-
- addInterface(Type, Type, Type...) - Method in interface jmplib.IIntercessor
-
Adds an interface to the provided class.
- addInterface(Type, Map<Type, Type[]>) - Method in interface jmplib.IIntercessor
-
Version of the previous method able to add multiple interfaces.
- addInterface(Type, Type, Type...) - Method in class jmplib.SimpleIntercessor
-
Adds an interface to the provided class.
- addInterface(Type, Map<Type, Type[]>) - Method in class jmplib.SimpleIntercessor
-
Version of the previous method able to add multiple interfaces.
- addInterface(Type, Type, Type...) - Method in class jmplib.TransactionalIntercessor
-
Adds an interface to the provided class.
- addInterface(Type, Map<Type, Type[]>) - Method in class jmplib.TransactionalIntercessor
-
Version of the previous method able to add multiple interfaces.
- AddInterfacePrimitive - Class in jmplib.primitives.impl
-
This class adds new interfaces to existing classes.
- AddInterfacePrimitive(ClassContent, Class<?>, Class<?>...) - Constructor for class jmplib.primitives.impl.AddInterfacePrimitive
-
- addMethod(Type, Method...) - Method in interface jmplib.IIntercessor
-
Adds methods to the specified class
For example:
// Declaring MethodType
MethodType mt = MethodType.methodType(int.class, int.class);
// Adding method to Counter
Intercessor.addMethod(Counter.class, new jmplib.reflect.Method("sum", mt,
"return this.counter += value;", "value"));
- addMethod(Type, Method...) - Method in interface jmplib.IIntercessor
-
- addMethod(Type, Method...) - Method in class jmplib.SimpleIntercessor
- addMethod(Type, Method...) - Method in class jmplib.TransactionalIntercessor
- AddMethodPrimitive - Class in jmplib.primitives.impl
-
This class adds new methods to existing class source code.
- AddMethodPrimitive(ClassContent, String, Class<?>, Class<?>[], Class<?>[], String[], String, int) - Constructor for class jmplib.primitives.impl.AddMethodPrimitive
-
- AddMethodPrimitive(ClassContent, String, Class<?>, Class<?>[], Class<?>[], String[], String, int, Type[], Type, TypeVariable<?>[]) - Constructor for class jmplib.primitives.impl.AddMethodPrimitive
-
- AddMethodPrimitive(ClassContent, String, Class<?>, Class<?>[], String[], String, int) - Constructor for class jmplib.primitives.impl.AddMethodPrimitive
-
- addNewVersion(Class<?>, Class<?>) - Static method in class jmplib.classversions.VersionTables
-
Adds a new version of one class
- addPublicInterfaceOf(Type, Type) - Method in interface jmplib.IIntercessor
-
Adds all the members of the public interface of the specified class to
another class
- addPublicInterfaceOf(Type, Type) - Method in class jmplib.SimpleIntercessor
-
Adds all the members of the public interface of the specified class to
another class
- addPublicInterfaceOf(Type, Type) - Method in class jmplib.TransactionalIntercessor
-
Adds all the members of the public interface of the specified class to
another class
- addSupportMethods(TypeDeclaration) - Method in class jmplib.primitives.impl.DeleteFieldPrimitive
-
Add deleted auxiliary methods
- agentmain(String, Instrumentation) - Static method in class jmplib.agent.UpdaterAgent
-
- argumentTypesToString(Class<?>[]) - Static method in class jmplib.reflect.IntrospectionUtils
-
Pretty prints argument types
- ASMUtils - Class in jmplib.asm.util
-
Helper class to encapsulate the most common ASM operations
- ASMUtils() - Constructor for class jmplib.asm.util.ASMUtils
-
- asSubclass(Class<U>) - Method in class jmplib.reflect.Class
-
Casts this Class
object to represent a subclass of the class
represented by the specified class object.
- asSubclass(Class<U>) - Method in class jmplib.reflect.Class
-
- AuxiliaryMethod - Annotation Type in jmplib.annotations
-
This annotations marks a method as a auxiliar library method.