- generateBody(String) - Method in class jmplib.primitives.impl.AddMethodPrimitive
-
Parse the body of the method
- GENERATED_EVAL_PACKAGE - Static variable in class jmplib.util.WrapperClassGenerator
-
- GENERATED_INVOKER_PACKAGE - Static variable in class jmplib.util.WrapperClassGenerator
-
- generateEvalClass(String, String, Class<T>, String[], Class<?>[]) - Static method in class jmplib.util.WrapperClassGenerator
-
Generates a class to wrap the dynamic user code and compile it.
- generateEvalClass(String, String, Class<T>, String[], String[], Class<?>[]) - Static method in class jmplib.util.WrapperClassGenerator
-
Generates a class to wrap the dynamic user code and compile it.
- generateEvalClass(String, String, Class<T>, String[], Class<?>[], Map<String, Class<?>>) - Static method in class jmplib.util.WrapperClassGenerator
-
Generates a class to wrap the dynamic user code and compile it.
- generateEvalInvoker(String, EvalInvokerData<T>) - Method in interface jmplib.IEvaluator
-
This method generates classes that implements generic functional interfaces,
that have to extend
EnvironmentSetUp
interface.
- generateEvalInvoker(String, EvalInvokerData<T>) - Method in class jmplib.SimpleEvaluator
-
This method generates classes that implements generic functional interfaces,
that have to extend
EnvironmentSetUp
interface.
- generateFieldGetter(String, Class<?>, String, Class<?>, Class<?>[], boolean) - Static method in class jmplib.util.WrapperClassGenerator
-
Wraps fieldGetter invocation
- generateFieldSetter(String, Class<?>, String, Class<?>, Class<?>[], boolean) - Static method in class jmplib.util.WrapperClassGenerator
-
Wraps fieldSetter invocation
- generateInvoker(String) - Method in class jmplib.primitives.impl.AddMethodPrimitive
-
Generates invoker method
- generateMethod(String, String[], String) - Method in class jmplib.primitives.impl.AddMethodPrimitive
-
Generates the method declaration
- generateMethodInvoker(String, Class<?>, String, Class<?>, Class<?>[], boolean) - Static method in class jmplib.util.WrapperClassGenerator
-
Wraps method invocation
- get(Object) - Method in class jmplib.reflect.Field
-
Returns the value of the field represented by this Field
, on
the specified object.
- GET_OLD_VERSION_TEMPLATE - Static variable in class jmplib.util.Templates
-
- get_OldVersion() - Method in interface jmplib.classversions.VersionClass
-
- getAdd(String) - Static method in class jmplib.asm.util.ASMUtils
-
Calculates the add opcode from the type descriptor
- getAll() - Method in class jmplib.sourcecode.SourceCodeCache
-
Obtains all ClassContent
- getAnnotatedBounds() - Method in class jmplib.reflect.TypeVariable
-
- getAnnotatedExceptionTypes() - Method in class jmplib.reflect.Constructor
-
- getAnnotatedExceptionTypes() - Method in class jmplib.reflect.Executable
-
Returns an array of AnnotatedType
objects that represent the use of
types to specify the declared exceptions of the method/constructor
represented by this Executable.
- getAnnotatedExceptionTypes() - Method in class jmplib.reflect.Method
-
- getAnnotatedInterfaces() - Method in class jmplib.reflect.Class
-
Returns an array of AnnotatedType
objects that represent the use
of types to specify superinterfaces of the entity represented by this
Class
object.
- getAnnotatedParameterTypes() - Method in class jmplib.reflect.Constructor
-
- getAnnotatedParameterTypes() - Method in class jmplib.reflect.Executable
-
Returns an array of AnnotatedType
objects that represent the use of
types to specify formal parameter types of the method/constructor represented
by this Executable.
- getAnnotatedParameterTypes() - Method in class jmplib.reflect.Method
-
- getAnnotatedReceiverType() - Method in class jmplib.reflect.Constructor
-
Returns an AnnotatedType
object that represents the use of a type to
specify the receiver type of the method/constructor represented by this
Executable object.
- getAnnotatedReceiverType() - Method in class jmplib.reflect.Executable
-
Returns an AnnotatedType
object that represents the use of a type to
specify the receiver type of the method/constructor represented by this
Executable object.
- getAnnotatedReceiverType() - Method in class jmplib.reflect.Method
-
- getAnnotatedReturnType() - Method in class jmplib.reflect.Constructor
-
Returns an AnnotatedType
object that represents the use of a type to
specify the return type of the method/constructor represented by this
Executable.
- getAnnotatedReturnType() - Method in class jmplib.reflect.Executable
-
Returns an AnnotatedType
object that represents the use of a type to
specify the return type of the method/constructor represented by this
Executable.
- getAnnotatedReturnType() - Method in class jmplib.reflect.Method
-
Returns an AnnotatedType
object that represents the use of a type to
specify the return type of the method/constructor represented by this
Executable.
- getAnnotatedSuperclass() - Method in class jmplib.reflect.Class
-
Returns an AnnotatedType
object that represents the use of a
type to specify the superclass of the entity represented by this <p>
Class
object.
- getAnnotatedType() - Method in class jmplib.reflect.Field
-
Returns an AnnotatedType object that represents the use of a type to specify
the declared type of the field represented by this Field.
- getAnnotation(Class<A>) - Method in class jmplib.reflect.Class
-
- getAnnotation(Class<A>) - Method in class jmplib.reflect.Class
-
- getAnnotation(Class<T>) - Method in class jmplib.reflect.Constructor
- getAnnotation(Class<T>) - Method in class jmplib.reflect.Executable
- getAnnotation(Class<T>) - Method in class jmplib.reflect.Field
-
- getAnnotation(Class<T>) - Method in class jmplib.reflect.Method
- getAnnotation(Class<T>) - Method in class jmplib.reflect.TypeVariable
-
- getAnnotations() - Method in class jmplib.reflect.Class
-
- getAnnotations() - Method in class jmplib.reflect.TypeVariable
-
- getAnnotationsByType(Class<A>) - Method in class jmplib.reflect.Class
-
- getAnnotationsByType(Class<A>) - Method in class jmplib.reflect.Class
-
- getAnnotationsByType(Class<T>) - Method in class jmplib.reflect.Constructor
-
- getAnnotationsByType(Class<T>) - Method in class jmplib.reflect.Executable
- getAnnotationsByType(Class<T>) - Method in class jmplib.reflect.Field
- getAnnotationsByType(Class<T>) - Method in class jmplib.reflect.Method
-
- getApplicationClassPath() - Static method in class jmplib.util.ClassPathUtil
-
Provides the modified classpath with generated_bin folder included
- getArgumentTypes(MethodNode) - Static method in class jmplib.asm.util.ASMUtils
-
Return the argument types of the method
- getASMified(Class<?>) - Static method in class jmplib.asm.util.ASMUtils
-
Returns the ASMified code of the class
- getASMified(byte[]) - Static method in class jmplib.asm.util.ASMUtils
-
Returns the ASMified code of the class
- getASMified(InputStream) - Static method in class jmplib.asm.util.ASMUtils
-
Returns the ASMified code of the class
- getAuxiliaryMethodVisibility(int) - Method in class jmplib.primitives.FieldPrimitive
-
Obtains the visibility of the auxiliary methods
- getBodyInvoker(String, String, String) - Method in class jmplib.primitives.MethodPrimitive
-
Generates the body of an invoker method
- getBoolean(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance boolean
field.
- getBounds() - Method in class jmplib.reflect.TypeVariable
-
- getByte(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance byte
field.
- getCanonicalName() - Method in class jmplib.reflect.Class
-
Returns the canonical name of the underlying class as
defined by the Java Language Specification.
- getChar(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance field of type
char
or of another primitive type convertible to
type char
via a widening conversion.
- getCharContent(boolean) - Method in class jmplib.util.JavaSourceFromString
-
- getClass(Type) - Static method in class jmplib.asm.util.ASMUtils
-
This method transforms a Type
to Class
object.
- getClass(Object) - Static method in class jmplib.reflect.Introspector
-
Obtain a class decorator of the class of the passed object.
- getClassContent(Class<?>) - Method in class jmplib.sourcecode.SourceCodeCache
-
Obtains the
ClassContent
of the specified class from the cache.
- getClassDeclaration() - Method in class jmplib.reflect.Class
-
Gets the JavaParser ClassOrInterfaceDeclaration node from this class.
- getClasses() - Method in class jmplib.reflect.Class
-
Returns an array containing Class
objects representing all
the public classes and interfaces that are members of the class
represented by this Class
object.
- getClassLoader() - Method in class jmplib.reflect.Class
-
Returns the class loader for the class.
- getClassName(String) - Static method in class jmplib.primitives.impl.util.VisitorUtil
-
Obtains the class name only from a full package class specification
- getClassName() - Method in class jmplib.util.JavaSourceFromString
-
- getClassNode(Class<?>) - Static method in class jmplib.asm.util.ASMUtils
-
This method obtain the ClassNode
of the given class.
- getClassNode(byte[]) - Static method in class jmplib.asm.util.ASMUtils
-
This method obtain the ClassNode
of the given class bytes.
- getClassNode(InputStream) - Static method in class jmplib.asm.util.ASMUtils
-
This method obtain the ClassNode
from a InputStream
.
- getClassNode(String) - Static method in class jmplib.asm.util.ASMUtils
-
This method obtain the ClassNode
from the internal name of the class
.
- getClazz() - Method in class jmplib.sourcecode.ClassContent
-
- getCode() - Method in class jmplib.util.JavaSourceFromString
-
- getCompilationError() - Method in exception jmplib.exceptions.CompilationFailedException
-
Returns the compilation errors that occurs when the application try to
compile a class.
- getCompilationUnit(Class<?>) - Static method in class jmplib.javaparser.util.JavaParserUtils
-
Obtains a JavaParser compilation unit from a class object.
- getComponentType() - Method in class jmplib.reflect.Class
-
Returns the Class
representing the component type of an
array.
- getConfigureAsThreadSafe() - Method in class jmplib.config.JMPlibConfig
-
- getConst(String) - Static method in class jmplib.asm.util.ASMUtils
-
Calculates the constant opcode from the type descriptor
- getConstructor(Class<?>...) - Method in class jmplib.reflect.Class
-
Returns a Constructor
object that reflects the specified
public constructor of the class represented by this Class
object.
- getConstructor(Class<?>...) - Method in class jmplib.reflect.Class
-
- getConstructors() - Method in class jmplib.reflect.Class
-
Returns an array containing Constructor
objects reflecting
all the public constructors of the class represented by this
Class
object.
- getContent() - Method in class jmplib.sourcecode.ClassContent
-
- getConversion(String, MethodVisitor) - Static method in class jmplib.asm.util.ASMUtils
-
Adds a conversion instruction whenever the type of the field is byte,
char or its wrapper types
- getCustomInit() - Method in class jmplib.reflect.Field
-
- getDeclarations() - Method in class jmplib.asm.visitor.ClassCacherVisitor
-
Obtains the list of declarations to support the functionality of the
library.
- getDeclaredAnnotation(Class<A>) - Method in class jmplib.reflect.Class
-
- getDeclaredAnnotation(Class<A>) - Method in class jmplib.reflect.Class
-
- getDeclaredAnnotations() - Method in class jmplib.reflect.Class
-
- getDeclaredAnnotations() - Method in class jmplib.reflect.Constructor
- getDeclaredAnnotations() - Method in class jmplib.reflect.Executable
- getDeclaredAnnotations() - Method in class jmplib.reflect.Field
- getDeclaredAnnotations() - Method in class jmplib.reflect.Method
- getDeclaredAnnotations() - Method in class jmplib.reflect.TypeVariable
-
- getDeclaredAnnotationsByType(Class<A>) - Method in class jmplib.reflect.Class
-
- getDeclaredAnnotationsByType(Class<A>) - Method in class jmplib.reflect.Class
-
- getDeclaredClasses() - Method in class jmplib.reflect.Class
-
Returns an array of Class
objects reflecting all the
classes and interfaces declared as members of the class represented by
this Class
object.
- getDeclaredConstructor(Class...) - Method in class jmplib.reflect.Class
-
Returns a Constructor
object that reflects the specified
constructor of the class or interface represented by this
Class
object.
- getDeclaredConstructor(Class<?>...) - Method in class jmplib.reflect.Class
-
- getDeclaredConstructors() - Method in class jmplib.reflect.Class
-
Returns an array of Constructor
objects reflecting all the
constructors declared by the class represented by this
Class
object.
- getDeclaredField(String) - Method in class jmplib.reflect.Class
-
Returns a Field
object that reflects the specified declared
field of the class or interface represented by this Class
object.
- getDeclaredFields() - Method in class jmplib.reflect.Class
-
Returns an array of Field
objects reflecting all the fields
declared by the class or interface represented by this
Class
object.
- getDeclaredMethod(String, Class<?>...) - Method in class jmplib.reflect.Class
-
Returns a Method
object that reflects the specified
declared method of the class or interface represented by this
Class
object.
- getDeclaredMethods() - Method in class jmplib.reflect.Class
-
Returns an array containing Method
objects reflecting all the
declared methods of the class or interface represented by this <p>
Class
object, including public, protected, default (package)
access, and private methods, but excluding inherited methods.
- getDeclaringClass() - Method in class jmplib.reflect.Class
-
If the class or interface represented by this Class
object
is a member of another class, returns the Class
object
representing the class in which it was declared.
- getDeclaringClass() - Method in class jmplib.reflect.Constructor
-
Returns the Class
object representing the class or interface that
declares the executable represented by this object.
- getDeclaringClass(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
- getDeclaringClass(FieldDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
FIELDS
- getDeclaringClass() - Method in class jmplib.reflect.Executable
-
Returns the Class
object representing the class or interface that
declares the executable represented by this object.
- getDeclaringClass() - Method in class jmplib.reflect.Field
-
Returns the Class
object representing the class or interface that
declares the field represented by this Field
object.
- getDeclaringClass() - Method in class jmplib.reflect.Method
-
Returns the Class
object representing the class or interface that
declares the executable represented by this object.
- getDecoratedClass() - Method in class jmplib.reflect.Class
-
Returns the decorated class from the java.lang package.
- getDecoratedClass(ClassOrInterfaceDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
CLASSES
- getDecoratedField() - Method in class jmplib.reflect.Field
-
Get the decorated Java Field
- getDecoratedMethod() - Method in class jmplib.reflect.Method
-
Returns the java.lang.reflect.Method represented by this Decorator
- getDefaultValue() - Method in class jmplib.reflect.Method
-
Returns the default value for the annotation member represented by
this Method
instance.
- getDefaultValue(String) - Static method in class jmplib.util.EvaluatorUtils
-
Return the default value for the provided type.
- getDescriptor(Class<?>) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains the descriptor of the class
- getDescriptor() - Method in class jmplib.primitives.MethodPrimitive
-
Creates the bytecode descriptor of the method
- getDouble(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance field of type
double
or of another primitive type convertible to
type double
via a widening conversion.
- getEnclosingClass() - Method in class jmplib.reflect.Class
-
Returns the immediately enclosing class of the underlying
class.
- getEnclosingConstructor() - Method in class jmplib.reflect.Class
-
If this
Class
object represents a local or anonymous
class within a constructor, returns a
java.lang.reflect.Constructor Constructor object representing
the immediately enclosing constructor of the underlying
class.
- getEnclosingMethod() - Method in class jmplib.reflect.Class
-
If this
Class
object represents a local or anonymous
class within a method, returns a
java.lang.reflect.Method Method object representing the
immediately enclosing method of the underlying class.
- getEnumConstants() - Method in class jmplib.reflect.Class
-
Returns the elements of this enum class or null if this
Class object does not represent an enum type.
- getEnvironment() - Method in class jmplib.invokers.EvalInvokerData
-
- getExceptionTypes() - Method in class jmplib.reflect.Constructor
-
Returns an array of Class
objects that represent the types of
exceptions declared to be thrown by the underlying executable represented by
this object.
- getExceptionTypes(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
- getExceptionTypes() - Method in class jmplib.reflect.Executable
-
Returns an array of Class
objects that represent the types of
exceptions declared to be thrown by the underlying executable represented by
this object.
- getExceptionTypes() - Method in class jmplib.reflect.Method
-
Returns an array of Class
objects that represent the types of
exceptions declared to be thrown by the underlying executable represented by
this object.
- getField(String) - Method in class jmplib.reflect.Class
-
Returns a Field
object that reflects the specified public member
field of the class or interface represented by this Class
object.
- getFieldDeclaration() - Method in class jmplib.reflect.Field
-
Get the corresponding JavaParser FieldDeclaration node
- getFieldInvoker(Type, String, MemberInvokerData<T>) - Method in interface jmplib.IEvaluator
-
Generates an instance of the specified interface to provide one field getter.
- getFieldInvoker(Type, String, MemberInvokerData<T>) - Method in class jmplib.SimpleEvaluator
-
Generates an instance of the specified interface to provide one field getter.
- getFieldInvoker(Type, String, MemberInvokerData<T>) - Method in class jmplib.ThreadSafeSimpleEvaluator
-
Generates an instance of the specified interface to provide one field getter.
- getFields() - Method in class jmplib.reflect.Class
-
Returns an array containing Field
objects reflecting all
the accessible public fields of the class or interface represented by
this Class
object.
- getFields(String) - Method in class jmplib.reflect.Class
-
Get all the fields whose name matches a regular expression
- getFields(Class<?>) - Static method in class jmplib.util.ClassSpy
-
Provides the declared fields inside the class and its super classes
- getFields(Class<?>) - Static method in class jmplib.util.TransferState
-
- getFieldType(FieldDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
- getFileData() - Method in class jmplib.util.JavaSourceFromString
-
- getFirstAvailableIndex(String, int) - Static method in class jmplib.asm.util.ASMUtils
-
- getFloat(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance field of type
float
or of another primitive type convertible to
type float
via a widening conversion.
- getFunctionalInterface() - Method in class jmplib.invokers.InvokerData
-
- getGenericDeclaration() - Method in class jmplib.reflect.TypeVariable
-
- getGenericExceptionTypes() - Method in class jmplib.reflect.Constructor
-
Returns an array of Type
objects that represent the exceptions
declared to be thrown by this executable object.
- getGenericExceptionTypes() - Method in class jmplib.reflect.Executable
-
Returns an array of Type
objects that represent the exceptions
declared to be thrown by this executable object.
- getGenericExceptionTypes() - Method in class jmplib.reflect.Method
-
Returns an array of Type
objects that represent the exceptions
declared to be thrown by this executable object.
- getGenericInterfaces() - Method in class jmplib.reflect.Class
-
Returns the Type
s representing the interfaces
directly implemented by the class or interface represented by
this object.
- getGenericMethodTypeParameters(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
- getGenericParameterTypes() - Method in class jmplib.reflect.Constructor
-
Returns an array of Type
objects that represent the formal parameter
types, in declaration order, of the executable represented by this object.
- getGenericParameterTypes() - Method in class jmplib.reflect.Executable
-
Returns an array of Type
objects that represent the formal parameter
types, in declaration order, of the executable represented by this object.
- getGenericParameterTypes() - Method in class jmplib.reflect.Method
-
Returns an array of Type
objects that represent the formal parameter
types, in declaration order, of the executable represented by this object.
- getGenericReturnType(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
- getGenericReturnType() - Method in class jmplib.reflect.Method
-
Returns a Type
object that represents the formal return type of the
method represented by this Method
object.
- getGenericSuperclass() - Method in class jmplib.reflect.Class
-
Returns the Type
representing the direct superclass of
the entity (class, interface, primitive type or void) represented by
this Class
.
- getGenericType() - Method in class jmplib.reflect.Field
-
Returns a Type
object that represents the declared type for
the field represented by this Field
object.
- getGetterDescriptor() - Method in class jmplib.primitives.impl.DeleteFieldPrimitive
-
- getIdentifier() - Method in class jmplib.util.JavaSourceFromString
-
- getImportAnnotatedElementsFromString(String...) - Static method in class jmplib.util.intercessor.IntercessorTypeConversion
-
Converts from an array of Package, a jmplib.reflect.Class or a
java.lang.Class to its corresponding import string.
- GetImportPrimitive - Class in jmplib.primitives.impl
-
This class gets imports from the files of existing classes.
- GetImportPrimitive(ClassContent) - Constructor for class jmplib.primitives.impl.GetImportPrimitive
-
- getImports(Type) - Method in interface jmplib.IIntercessor
-
Get the imports of the source file that defines the specified class.
- getImports() - Method in class jmplib.invokers.EvalInvokerData
-
- getImports(Type) - Method in class jmplib.SimpleIntercessor
-
Get the imports of the source file that defines the specified class.
- getImports(Type) - Method in class jmplib.TransactionalIntercessor
-
Get the imports of the source file that defines the specified class.
- getImportString(AnnotatedElement...) - Static method in class jmplib.util.intercessor.IntercessorTypeConversion
-
Converts from an array of Package, a jmplib.reflect.Class or a
java.lang.Class to its corresponding import string.
- getInit() - Method in class jmplib.reflect.Field
-
Get the init value for custom fields.
- getInstance() - Static method in class jmplib.compiler.ClassCompiler
-
Obtains the instance of the ClassCompiler
- getInstance() - Static method in class jmplib.config.JMPlibConfig
-
- getInstance() - Static method in class jmplib.sourcecode.SourceCodeCache
-
Returns the unique instance of the class ready to use.
- getInt(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance field of type
int
or of another primitive type convertible to
type int
via a widening conversion.
- getInterfaces() - Method in class jmplib.reflect.Class
-
Determines the interfaces implemented by the class or interface
represented by this object.
- getInternalName(Class<?>) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains the internal name of the class
- getInvokerDescriptor() - Method in class jmplib.primitives.MethodPrimitive
-
Creates the bytecode descriptor of the invoker method
- getJavaHome() - Method in class jmplib.config.JMPlibConfig
-
- getLastVersion() - Method in class jmplib.reflect.Class
-
Get the current last version of the decorated class.
- getLatestObjectVersion(Object) - Static method in class jmplib.reflect.IntrospectionUtils
-
Helper method to get an instance of the latest class version of a certain
Object.
- getLong(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance field of type
long
or of another primitive type convertible to
type long
via a widening conversion.
- getMaxStack(MethodNode) - Static method in class jmplib.asm.util.ASMUtils
-
Return the max stack size for a method
- getMethod(String, Class<?>...) - Method in class jmplib.reflect.Class
-
Returns a Method
object that reflects the specified public
member method of the class or interface represented by this
Class
object.
- getMethod(Class<?>) - Static method in class jmplib.util.MemberFinder
-
Obtains the main method of the functional interface
- getMethodDeclaration() - Method in class jmplib.reflect.Method
-
EXTRA FUNCTIONALITY INCORPORATED BY JMPLIB
- getMethodInsnStatic(String, String, String) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains a static MethodInsnNode
- getMethodInvoker(Type, String, MemberInvokerData<T>) - Method in interface jmplib.IEvaluator
-
Generates an instance of the specified interface to invoke one method.
- getMethodInvoker(Type, String, MemberInvokerData<T>) - Method in class jmplib.SimpleEvaluator
-
Generates an instance of the specified interface to invoke one method.
- getMethodInvoker(Type, String, MemberInvokerData<T>) - Method in class jmplib.ThreadSafeSimpleEvaluator
-
Generates an instance of the specified interface to invoke one method.
- getMethods() - Method in class jmplib.reflect.Class
-
Returns an array containing Method
objects reflecting all the
public methods of the class or interface represented by this <p>
Class
object, including those declared by the class or interface and
those inherited from superclasses and superinterfaces.
- getMethods(String) - Method in class jmplib.reflect.Class
-
Get all the methods whose name matches a regular expression
- getMethodType(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
Utility method to get the method type.
- getMethodType() - Method in class jmplib.reflect.Method
-
Obtains the MethodType associated with this method.
- getMethodTypeParameters() - Method in class jmplib.reflect.Method
-
- getModifiedClassPath() - Method in class jmplib.config.JMPlibConfig
-
- getModifiedSrcPath() - Method in class jmplib.config.JMPlibConfig
-
- getModifiers() - Method in class jmplib.invokers.MemberInvokerData
-
- getModifiers() - Method in class jmplib.reflect.Class
-
Returns the Java language modifiers for this class or interface, encoded
in an integer.
- getModifiers() - Method in class jmplib.reflect.Constructor
-
Returns the Java language modifiers for the executable
represented by this object.
- getModifiers() - Method in class jmplib.reflect.Executable
-
Returns the Java language modifiers for the executable
represented by this object.
- getModifiers() - Method in class jmplib.reflect.Field
-
Returns the Java language modifiers for the field represented by this
Field
object, as an integer.
- getModifiers() - Method in class jmplib.reflect.Method
-
Returns the Java language modifiers for the executable
represented by this object.
- getName() - Method in class jmplib.reflect.Class
-
Returns the name of the entity (class, interface, array class,
primitive type, or void) represented by this Class
object,
as a String
.
- getName() - Method in class jmplib.reflect.Constructor
-
Returns the name of this constructor, as a string.
- getName() - Method in class jmplib.reflect.Executable
-
Returns the name of the executable represented by this object.
- getName() - Method in class jmplib.reflect.Field
-
Returns the name of the field represented by this Field
object.
- getName() - Method in class jmplib.reflect.Method
-
Returns the name of the method represented by this Method
object, as
a String
.
- getName() - Method in class jmplib.reflect.TypeVariable
-
- getNewVersion(Class<?>) - Static method in class jmplib.classversions.VersionTables
-
Obtains the new version of the class
- getNewVersion(String) - Static method in class jmplib.classversions.VersionTables
-
Obtains the new version of the class
- getOriginalClassNameFromVersion(String) - Static method in class jmplib.sourcecode.SourceCodeCache
-
Gets the original class name from a version class name
- getOriginalClassPath() - Method in class jmplib.config.JMPlibConfig
-
- getOriginalSrcPath() - Method in class jmplib.config.JMPlibConfig
-
- getPackage() - Method in class jmplib.reflect.Class
-
Gets the package for this class.
- getParameterAnnotations() - Method in class jmplib.reflect.Constructor
-
Returns an array of arrays of Annotation
s that represent the
annotations on the formal parameters, in declaration order, of the
Executable
represented by this object.
- getParameterAnnotations() - Method in class jmplib.reflect.Executable
-
Returns an array of arrays of Annotation
s that represent the
annotations on the formal parameters, in declaration order, of the
Executable
represented by this object.
- getParameterAnnotations() - Method in class jmplib.reflect.Method
-
Returns an array of arrays of Annotation
s that represent the
annotations on the formal parameters, in declaration order, of the
Executable
represented by this object.
- getParameterCount() - Method in class jmplib.reflect.Constructor
-
Returns the number of formal parameters (whether explicitly declared or
implicitly declared or neither) for the executable represented by this
object.
- getParameterCount() - Method in class jmplib.reflect.Executable
-
Returns the number of formal parameters (whether explicitly declared or
implicitly declared or neither) for the executable represented by this
object.
- getParameterCount() - Method in class jmplib.reflect.Method
-
Returns the number of formal parameters (whether explicitly declared or
implicitly declared or neither) for the executable represented by this
object.
- getParameterNames(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
Utility method to get parameter names.
- getParameterNames() - Method in class jmplib.reflect.Method
-
Obtain the declared method parameter names in the source code
- getParameters() - Method in class jmplib.reflect.Constructor
-
- getParameters() - Method in class jmplib.reflect.Executable
-
Returns an array of Parameter
objects that represent all the
parameters to the underlying executable represented by this object.
- getParameters() - Method in class jmplib.reflect.Method
-
- getParameterString() - Method in class jmplib.reflect.Method
-
Obtains a string representation of the declared parameters of this method
(Ex.: (double a, double b))
- getParameterTypes() - Method in class jmplib.reflect.Constructor
-
Returns an array of Class
objects that represent the formal parameter
types, in declaration order, of the executable represented by this object.
- getParameterTypes() - Method in class jmplib.reflect.Executable
-
Returns an array of Class
objects that represent the formal parameter
types, in declaration order, of the executable represented by this object.
- getParameterTypes() - Method in class jmplib.reflect.Method
-
Returns an array of Class
objects that represent the formal parameter
types, in declaration order, of the executable represented by this object.
- getParametrizationClasses() - Method in class jmplib.invokers.InvokerData
-
- getParamInsn(Type, int) - Static method in class jmplib.asm.util.ASMUtils
-
Create a VarInsnNode
from a Type
and the index of the
parameter
- getParamNames() - Method in class jmplib.invokers.EvalInvokerData
-
- getPath() - Method in class jmplib.sourcecode.ClassContent
-
- getPathSeparator() - Method in class jmplib.config.JMPlibConfig
-
- getPolyglotPath() - Method in class jmplib.config.JMPlibConfig
-
- getProperty(String, String) - Static method in class jmplib.util.FileUtils
-
Obtains a property of on properties file
- getProtectionDomain() - Method in class jmplib.reflect.Class
-
Returns the ProtectionDomain
of this class.
- getReadValue() - Method in class jmplib.primitives.AbstractReadPrimitive
-
Gets the information obtained from the source file
- getReplaceIsInstance() - Method in class jmplib.config.JMPlibConfig
-
- getResource(String) - Method in class jmplib.reflect.Class
-
Finds a resource with a given name.
- getResourceAsStream(String) - Method in class jmplib.reflect.Class
-
Finds a resource with a given name.
- getReturnInsn(MethodNode) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains the return node for one method
- getReturnOpcode(String) - Static method in class jmplib.asm.util.ASMUtils
-
Return the return opcode for one method descriptor
- getReturnType() - Method in class jmplib.reflect.Method
-
Returns a Class
object that represents the formal return type of the
method represented by this Method
object.
- getSetterDescriptor() - Method in class jmplib.primitives.impl.DeleteFieldPrimitive
-
- getShort(Object) - Method in class jmplib.reflect.Field
-
Gets the value of a static or instance field of type
short
or of another primitive type convertible to
type short
via a widening conversion.
- getSigners() - Method in class jmplib.reflect.Class
-
Gets the signers of this class.
- getSimpleName() - Method in class jmplib.reflect.Class
-
Returns the simple name of the underlying class as given in the
source code.
- getSourceCode() - Method in class jmplib.reflect.Class
-
Outputs the Java source code of a class, if available.
- getSourceCode(MethodDeclaration) - Static method in class jmplib.reflect.DeclarationUtils
-
Utility method to get a method body.
- getSourceCode() - Method in class jmplib.reflect.Field
-
Get the Field source code
- getSourceCode() - Method in class jmplib.reflect.Method
-
Get the source code of the method in a single string
- getSourceCode(String) - Method in class jmplib.sourcecode.SourceFromSrcZipExtractor
-
- getSourceFromSrcZipExtractor() - Static method in class jmplib.sourcecode.SourceCodeCache
-
- getSub(String) - Static method in class jmplib.asm.util.ASMUtils
-
Calculates the sub opcode from the type descriptor
- getSubClasses() - Method in class jmplib.reflect.Class
-
Get the loaded subclasses of this class.
- getSubclasses(Class<?>) - Static method in class jmplib.util.InheritanceTables
-
Provides direct subclasses of one
- getSuperClass(ClassContent) - Method in class jmplib.primitives.AbstractPrimitive
-
- getSuperclass() - Method in class jmplib.reflect.Class
-
Returns the Class
representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class
.
- getTargetClass() - Method in class jmplib.primitives.AbstractPrimitive
-
- getTargetClass() - Method in interface jmplib.primitives.Primitive
-
Return the class that is modified by this primitive.
- getter - Variable in class jmplib.primitives.FieldPrimitive
-
- getType() - Method in class jmplib.reflect.Field
-
Returns a Class
object that identifies the
declared type for the field represented by this
Field
object.
- getTypeName() - Method in class jmplib.reflect.Class
-
Return an informative string for the name of this type.
- getTypeParameters() - Method in class jmplib.reflect.Class
-
Returns an array of TypeVariable
objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration
object, in declaration order.
- getTypeParameters() - Method in class jmplib.reflect.Constructor
-
Returns an array of TypeVariable
objects that represent the type
variables declared by the generic declaration represented by this
GenericDeclaration
object, in declaration order.
- getTypeParameters() - Method in class jmplib.reflect.Executable
-
Returns an array of TypeVariable
objects that represent the type
variables declared by the generic declaration represented by this
GenericDeclaration
object, in declaration order.
- getTypeParameters() - Method in class jmplib.reflect.Method
-
Returns an array of TypeVariable
objects that represent the type
variables declared by the generic declaration represented by this
GenericDeclaration
object, in declaration order.
- getUnaryDescriptor() - Method in class jmplib.primitives.impl.DeleteFieldPrimitive
-
- getValue(String, MethodVisitor) - Static method in class jmplib.asm.util.ASMUtils
-
Adds the instruction to convert the wrapper type to primitive type when
the type of the field is a wrapper type
- getValueOf(String, MethodVisitor) - Static method in class jmplib.asm.util.ASMUtils
-
Adds the instruction to convert the primitive type to wrapper type when
the type of the field is a wrapper type
- getVarInsnList(String) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains the InsnList
with the load of all parameters of the method.
- getVarInvokerInsnList(String) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains the InsnList
with the load of the parameters of the method
avoiding the first parameter.
- getVarOpcode(String) - Static method in class jmplib.asm.util.ASMUtils
-
Obtains the var opcode for a descriptor
- getVersion() - Method in class jmplib.sourcecode.ClassContent
-
- getVersion(String) - Method in class jmplib.sourcecode.SourceCodeCache
-
Provides the current version of one class
- getVersions(Class<?>) - Static method in class jmplib.classversions.VersionTables
-
Obtains all version of one class