- canRepresentGenericType(Type) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check if a class can represent a generic type
- cast(Object) - Method in class jmplib.reflect.Class
-
Casts an object to the class or interface represented
by this Class
object.
- cast(Class, Object) - Static method in class jmplib.reflect.Introspector
-
Cast obj to castTarget
- changesClassHierarchy - Variable in class jmplib.primitives.AbstractPrimitive
-
- changeVersion(String, Class<?>, int, int) - Method in class jmplib.primitives.AbstractPrimitive
-
Changes the version of the class in the source code.
- changeVersion(String, Class<?>, int, int) - Method in class jmplib.primitives.impl.SetSuperClassPrimitive
-
- ChangeWriterTransformer - Class in jmplib.agent.impl
-
This transformer writes the modified bytecode in the modified classpath.
- ChangeWriterTransformer() - Constructor for class jmplib.agent.impl.ChangeWriterTransformer
-
- check(MemberKey) - Static method in class jmplib.classversions.DeleteMemberTables
-
Checks if the method was deleted
- checkAddAnnotationToClassParameters(Class<?>[]) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Checks that the passed class to add or remove annotations are really
annotations.
- checkAddGenericTypeParameters(TypeVariable<?>[]) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Checks that the passed type variables are valid
- checkAddImportParameters(String[]) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check that the imports do not begin with "import" (removed) and do not end
with ";" (removed) to ensure proper code generation
- checkAddInterfaceParams(Class<?>, Class<?>, Class<?>...) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check parameters of the addInterface/removeInterface primitives
- checkClass(byte[]) - Static method in class jmplib.asm.util.ASMUtils
-
Check if the class have errors
- checkFieldParams(int, String) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check field parameters
- checkFieldParams(int, Type, String, String) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check field parameters
- checkInvokerParams(Class<?>, String, Class<?>, int) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check parameters
- checkMethodParams(String, int) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check method parameters
- checkMethodParams(String, String, int) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check method parameters
- checkMethodParams(String, MethodType, int) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check method parameters
- checkMethodParams(String, MethodType, String, int) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check method parameters
- checkMethodParams(String, MethodType, String, int, Type[]) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check method parameters
- checkRemoveSuperClassParams(Class<?>) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check parameters of the removeSuperclass primitive
- checkSetSuperClassParams(Class<?>, Class<?>, Type...) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Check parameters of the setSuperclass primitive
- checkValidIdentifier(String) - Static method in class jmplib.util.intercessor.IntercessorValidators
-
Checks if a name can be a valid identifier
- checkVisibility(Class<?>, String, Class<?>, int, Class<?>[]) - Static method in class jmplib.util.intercessor.IntercessorUtils
-
Checks if any method matches the provided functional interface method in the
last version of the class.
- checkVisibility(Class<?>, String) - Static method in class jmplib.util.intercessor.IntercessorUtils
-
Checks if there is any attribute in the last version of the class that
matches with the data provided and its visibility is public.
- Class<T> - Class in jmplib.reflect
-
This is a decorator of the java.lang.Class class that allows introspection
operations taking into account the latest version of the decorated class.
- Class(ClassOrInterfaceDeclaration) - Constructor for class jmplib.reflect.Class
-
- Class(Class<?>) - Constructor for class jmplib.reflect.Class
-
Only the Introspector should be able to return instances of this class
- ClassCacherVisitor - Class in jmplib.asm.visitor
-
This visitor analyses the class and build a list of new auxiliary fields
needed to support the library.
- ClassCacherVisitor(int, ClassVisitor, Class<?>) - Constructor for class jmplib.asm.visitor.ClassCacherVisitor
-
- ClassCacherVisitor(int, Class<?>) - Constructor for class jmplib.asm.visitor.ClassCacherVisitor
-
- ClassCompiler - Class in jmplib.compiler
-
This class is used for compile java files at runtime.
- classContent - Variable in class jmplib.primitives.AbstractPrimitive
-
- ClassContent - Class in jmplib.sourcecode
-
This class acts like a wrapper of needed information of each class.
- ClassContent() - Constructor for class jmplib.sourcecode.ClassContent
-
- ClassContentSerializer - Class in jmplib.sourcecode
-
- ClassContentSerializer() - Constructor for class jmplib.sourcecode.ClassContentSerializer
-
- ClassNotEditableException - Exception in jmplib.exceptions
-
This exception is thrown when a not editable class is used with the JMPlib
API.
- ClassNotEditableException(String) - Constructor for exception jmplib.exceptions.ClassNotEditableException
-
- ClassNotEditableException(String, Throwable) - Constructor for exception jmplib.exceptions.ClassNotEditableException
-
- ClassPathUtil - Class in jmplib.util
-
This class manages the classpath of the application adding the generated_bin
folder to it.
- ClassSpy - Class in jmplib.util
-
This utility class dumps a class structure to System.out
- ClassSpy() - Constructor for class jmplib.util.ClassSpy
-
- classToNameExpr(Class<?>) - Static method in class jmplib.javaparser.util.JavaParserUtils
-
Converts a class to NameExpr
node
- clazz - Variable in class jmplib.primitives.AbstractPrimitive
-
- clear(MemberKey) - Static method in class jmplib.classversions.DeleteMemberTables
-
Marks the method as not deleted
- clear() - Method in class jmplib.sourcecode.SourceCodeCache
-
Clears the source code cache.
- commit() - Method in interface jmplib.IIntercessor
-
Performs the operations indicated to the intercessor, if the intercessor has
the ability to store the operations until they are executed at the same time.
- commit() - Method in class jmplib.TransactionalIntercessor
-
Performs the operations indicated to the intercessor, if the intercessor has
the ability to store the operations until they are executed at the same time.
- CompilationFailedException - Exception in jmplib.exceptions
-
This exception is thrown when the class to compile have errors in the code.
- CompilationFailedException(String, String) - Constructor for exception jmplib.exceptions.CompilationFailedException
-
- compile(List<File>, JavaFileObject...) - Method in class jmplib.compiler.ClassCompiler
-
This method compiles multiple java files at runtime.
- compileFile(File, String, String) - Static method in class jmplib.util.intercessor.IntercessorUtils
-
Compiles a class file and return an instance of the compiled class.
- compilerOptions - Static variable in class jmplib.compiler.ClassCompiler
-
- Constructor<T> - Class in jmplib.reflect
-
- Constructor(Constructor<T>) - Constructor for class jmplib.reflect.Constructor
-
- ConstructorBodyInstrumentor - Class in jmplib.asm.visitor
-
This visitor instruments the constructor to add the transfer state support
- ConstructorBodyInstrumentor(int, Type, int, String, String, MethodVisitor) - Constructor for class jmplib.asm.visitor.ConstructorBodyInstrumentor
-
- ConstructorVisitor - Class in jmplib.asm.visitor
-
This visitor annotates the constructors of the class.
- ConstructorVisitor(int, ClassVisitor, boolean) - Constructor for class jmplib.asm.visitor.ConstructorVisitor
-
- ConstructorVisitor(int, boolean) - Constructor for class jmplib.asm.visitor.ConstructorVisitor
-
- copyDirectory(File, File) - Static method in class jmplib.util.FileUtils
-
Copy one directory into another
- createAddAnnotationToClassPrimitive(Class<?>, Class<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createAddAnnotationToClassPrimitive
- createAddAnnotationToMethodPrimitive(Method, Class<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createAddAnnotationToMethodPrimitive
- createAddFieldPrimitive(Class<?>, int, Class<?>, String, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createAddGenericTypeToClassPrimitive(Class<?>, TypeVariable<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createAddGenericTypeToClassPrimitive
- createAddGenericTypeToMethodPrimitive(Method, TypeVariable<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createAddGenericTypeToMethodPrimitive
- createAddImportPrimitive(Class<?>, String[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createAddInterfacePrimitive(Class<?>, Class<?>, Class<?>...) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createAddMethodPrimitive(Class<?>, String, MethodType, String[], String, int, Class<?>...) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createAddMethodPrimitive(Class<?>, String, MethodType, String[], String, int, Type[], Type, TypeVariable<?>[], Class<?>...) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createClassClone(String, String, Type) - Method in interface jmplib.IIntercessor
-
Creates a class clone of the specified class with the specified name and
belonging to the provided package
- createClassClone(String, String, Type) - Method in class jmplib.SimpleIntercessor
-
Creates a class clone of the specified class with the specified name and
belonging to the provided package
- createClassClone(String, String, Type) - Method in class jmplib.TransactionalIntercessor
-
Creates a class clone of the specified class with the specified name and
belonging to the provided package
- createDeleteFieldPrimitive(Class<?>, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createDeleteMethodPrimitive(Class<?>, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createDeleteMethodPrimitive(Class<?>, String, MethodType) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createEmptyClass(String, String, AnnotatedElement...) - Method in interface jmplib.IEvaluator
-
This method is a front-end of the exec method specially created to easily
return empty classes with a concrete name and package.
- createEmptyClass(String, String, AnnotatedElement...) - Method in class jmplib.SimpleEvaluator
-
This method is a front-end of the exec method specially created to easily
return empty classes with a concrete name and package.
- createEvaluator() - Method in interface jmplib.IEvaluator
-
Creates an instance of the evaluator implementing this interface
- createEvaluator() - Method in class jmplib.SimpleEvaluator
-
Creates an instance of the evaluator implementing this interface
- createFile(String, String) - Static method in class jmplib.util.WrapperClassGenerator
-
Creates a java file inside the folder generated_src
- createGetImportPrimitive(Class<?>) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createIntercessor() - Method in interface jmplib.IIntercessor
-
Creates an instance of the intercessor implementing this interface
- createIntercessor() - Method in class jmplib.SimpleIntercessor
-
Creates an instance of the intercessor implementing this interface
- createIntercessor() - Method in class jmplib.TransactionalIntercessor
-
Creates an instance of the intercessor implementing this interface
- createRemoveInterfacePrimitive(Class<?>, Class<?>) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createRemoveSuperClassPrimitive(Class<?>) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createReplaceFieldPrimitive(Class<?>, String, Class<?>, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createReplaceImplementationPrimitive(Class<?>, String, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createReplaceImplementationPrimitive(Class<?>, String, MethodType, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createReplaceMethodPrimitive(Class<?>, String, MethodType, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createReplaceMethodPrimitive(Class<?>, String, MethodType, MethodType, String) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createSetAnnotationToClassPrimitive(Class<?>, Class<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createSetAnnotationToClassPrimitive
- createSetAnnotationToMethodPrimitive(Method, Class<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createSetAnnotationToMethodPrimitive
- createSetGenericTypeToClassPrimitive(Class<?>, TypeVariable<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createSetGenericTypeToClassPrimitive
- createSetGenericTypeToMethodPrimitive(Method, TypeVariable<?>[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
Creates createSetGenericTypeToMethodPrimitive
- createSetImportPrimitive(Class<?>, String[]) - Static method in class jmplib.primitives.PrimitiveFactory
-
- createSetSuperClassPrimitive(Class<?>, Class<?>, Class<?>...) - Static method in class jmplib.primitives.PrimitiveFactory
-
- CREATOR_TEMPLATE - Static variable in class jmplib.util.Templates
-
This template generates the code to generate the creator of a cached
class