Interface JReflectionTypeResolution
public interface JReflectionTypeResolution
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Class<?> classFromLocation(JClassLocation location) static JResolutionResult<Class<?>, JType> createClassReference(JTypeSystem system, Class<?> cls, JClassLocation location) static JResolutionResult<Field, JFieldReference> createFieldReference(JTypeSystem system, Field field, JFieldLocation location) static JResolutionResult<Executable, JMethodReference> createMethodReference(JTypeSystem system, Executable executable, JMethodLocation location) static JResolutionResult<TypeVariable<?>, JVarType> createVarType(JTypeSystem system, TypeVariable<?> var, JTypeParameterLocation location) static FieldfieldFromLocation(JFieldLocation location) getReflectionType(JClassReference reference) static Optional<Executable> getReflectionType(JMethodReference reference) static <T> Optional<T> getReflectionType(JType type) static Optional<TypeVariable<?>> getReflectionType(JVarType type) static booleanlocationMatchesMethod(JMethodLocation methodLocation, Executable method) static ExecutablemethodFromLocation(JMethodLocation location) static TypeVariable<?>
-
Field Details
-
REFLECTION_TYPE_RESOLVERS
-
-
Method Details
-
locationMatchesMethod
-
getReflectionType
-
getReflectionType
-
getReflectionType
-
getReflectionType
-
classFromLocation
- Throws:
JResolutionFailedException
-
fieldFromLocation
- Throws:
JResolutionFailedException
-
methodFromLocation
- Throws:
JResolutionFailedException
-
typeParameterFromLocation
static TypeVariable<?> typeParameterFromLocation(JTypeParameterLocation location) throws JResolutionFailedException - Throws:
JResolutionFailedException
-
createFieldReference
static JResolutionResult<Field, JFieldReference> createFieldReference(JTypeSystem system, Field field, JFieldLocation location) -
createMethodReference
static JResolutionResult<Executable, JMethodReference> createMethodReference(JTypeSystem system, Executable executable, JMethodLocation location) -
createClassReference
static JResolutionResult<Class<?>,JType> createClassReference(JTypeSystem system, Class<?> cls, JClassLocation location) -
createVarType
static JResolutionResult<TypeVariable<?>, JVarType> createVarType(JTypeSystem system, TypeVariable<?> var, JTypeParameterLocation location)
-