Package fr.skytasul.reflection
Interface ReflectionAccessor.ClassAccessor
- All Superinterfaces:
Type
- Enclosing interface:
ReflectionAccessor
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescription@NotNull Type@NotNull Class<?> getConstructor(@NotNull Type... parameterTypes) default @NotNull Constructor<?> getConstructorInstance(@NotNull Type... parameterTypes) default @NotNull FieldgetFieldInstance(@NotNull String original) default @NotNull MethodgetMethodInstance(@NotNull String original, @NotNull Type... parameterTypes) @NotNull String
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfaceType
-
getArrayType
-
getClassInstance
- Throws:
ClassNotFoundException
-
getField
@NotNull @NotNull ReflectionAccessor.ClassAccessor.FieldAccessor getField(@NotNull @NotNull String original) throws NoSuchFieldException - Throws:
NoSuchFieldException
-
getFieldInstance
@NotNull default @NotNull Field getFieldInstance(@NotNull @NotNull String original) throws NoSuchFieldException, SecurityException, ClassNotFoundException -
getMethod
@NotNull @NotNull ReflectionAccessor.ClassAccessor.MethodAccessor getMethod(@NotNull @NotNull String original, @NotNull @NotNull Type... parameterTypes) throws NoSuchMethodException, ClassNotFoundException -
getMethodInstance
@NotNull default @NotNull Method getMethodInstance(@NotNull @NotNull String original, @NotNull @NotNull Type... parameterTypes) throws NoSuchMethodException, ClassNotFoundException -
getConstructor
@NotNull @NotNull ReflectionAccessor.ClassAccessor.ConstructorAccessor getConstructor(@NotNull @NotNull Type... parameterTypes) throws NoSuchMethodException, SecurityException, ClassNotFoundException -
getConstructorInstance
@NotNull default @NotNull Constructor<?> getConstructorInstance(@NotNull @NotNull Type... parameterTypes) throws NoSuchMethodException, SecurityException, ClassNotFoundException
-