Package | Description |
---|---|
jmplib | |
jmplib.primitives | |
jmplib.primitives.impl | |
jmplib.reflect | |
jmplib.util.intercessor |
Modifier and Type | Method and Description |
---|---|
void |
TransactionalIntercessor.addGenericType(Method method,
TypeVariable<?>... types) |
void |
SimpleIntercessor.addGenericType(Method met,
TypeVariable<?>... types) |
default void |
IIntercessor.addGenericType(java.lang.reflect.Method met,
TypeVariable<?>... types)
Add the provided generic types to the specified method.
|
void |
IIntercessor.addGenericType(Method met,
TypeVariable<?>... types) |
void |
TransactionalIntercessor.addGenericType(java.lang.reflect.Type clazz,
TypeVariable<?>... types)
Add the provided generic type to the specified class.
|
void |
SimpleIntercessor.addGenericType(java.lang.reflect.Type clazz,
TypeVariable<?>... types)
Add the provided generic type to the specified class.
|
void |
IIntercessor.addGenericType(java.lang.reflect.Type clazz,
TypeVariable<?>... types)
Add the provided generic type to the specified class.
|
void |
TransactionalIntercessor.setGenericType(Method method,
TypeVariable<?>... types) |
void |
SimpleIntercessor.setGenericType(Method met,
TypeVariable<?>... types) |
default void |
IIntercessor.setGenericType(java.lang.reflect.Method met,
TypeVariable<?>... types)
Replace the generic types of a method with the provided ones.
|
void |
IIntercessor.setGenericType(Method met,
TypeVariable<?>... types) |
void |
TransactionalIntercessor.setGenericType(java.lang.reflect.Type clazz,
TypeVariable<?>... types)
Replace the generic types of the specified class with the provided ones.
|
void |
SimpleIntercessor.setGenericType(java.lang.reflect.Type clazz,
TypeVariable<?>... types)
Replace the generic types of the specified class with the provided ones.
|
void |
IIntercessor.setGenericType(java.lang.reflect.Type clazz,
TypeVariable<?>... types)
Replace the generic types of the specified class with the provided ones.
|
Modifier and Type | Method and Description |
---|---|
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.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.createSetGenericTypeToClassPrimitive(java.lang.Class<?> clazz,
TypeVariable<?>[] tvs)
Creates
createSetGenericTypeToClassPrimitive |
static Primitive |
PrimitiveFactory.createSetGenericTypeToMethodPrimitive(java.lang.reflect.Method met,
TypeVariable<?>[] tvs)
Creates
createSetGenericTypeToMethodPrimitive |
Constructor and Description |
---|
AddGenericTypeToClassPrimitive(java.lang.String className,
ClassContent classContent,
TypeVariable<?>[] typesToAdd) |
AddGenericTypeToMethodPrimitive(java.lang.reflect.Method met,
ClassContent classContent,
TypeVariable<?>[] typesToAdd) |
AddMethodPrimitive(ClassContent classContent,
java.lang.String name,
java.lang.Class<?> returnClass,
java.lang.Class<?>[] parameterClasses,
java.lang.Class<?>[] exceptions,
java.lang.String[] paramNames,
java.lang.String body,
int modifiers,
java.lang.reflect.Type[] genericParamTypes,
java.lang.reflect.Type genericReturnType,
TypeVariable<?>[] methodTypeParameters) |
SetGenericTypeToClassPrimitive(java.lang.String className,
ClassContent classContent,
TypeVariable<?>[] typesToSet) |
SetGenericTypeToMethodPrimitive(java.lang.reflect.Method met,
ClassContent classContent,
TypeVariable<?>[] typesToSet) |
Modifier and Type | Method and Description |
---|---|
static TypeVariable<?>[] |
DeclarationUtils.getGenericMethodTypeParameters(com.github.javaparser.ast.body.MethodDeclaration m) |
TypeVariable<?>[] |
Method.getMethodTypeParameters() |
Constructor and Description |
---|
Method(java.lang.reflect.Type clazz,
java.lang.String name,
java.lang.invoke.MethodType methodType,
java.lang.String body,
int modifiers,
Class<?>[] exceptions,
java.lang.reflect.Type[] typeParameters,
java.lang.reflect.Type genericReturnType,
TypeVariable<?>[] methodTypeParameters,
java.lang.String... parameterNames) |
Method(java.lang.reflect.Type clazz,
java.lang.String name,
java.lang.invoke.MethodType methodType,
java.lang.String body,
int modifiers,
java.lang.reflect.Type[] exceptions,
java.lang.reflect.Type[] typeParameters,
TypeVariable<?>[] methodTypeParameters,
java.lang.String... parameterNames) |
Modifier and Type | Method and Description |
---|---|
static void |
IntercessorValidators.checkAddGenericTypeParameters(TypeVariable<?>[] tvs)
Checks that the passed type variables are valid
|