クラス ReflectUtils
java.lang.ObjectSE
org.springframework.cglib.core.ReflectUtils
メソッドのサマリー
修飾子と型メソッド説明static ListSE
addAllInterfaces
(ClassSE type, ListSE list) static ListSE
addAllMethods
(ClassSE type, ListSE list) static ClassSE
defineClass
(StringSE className, byte[] b, ClassLoaderSE loader) static ClassSE
defineClass
(StringSE className, byte[] b, ClassLoaderSE loader, ProtectionDomainSE protectionDomain) static ClassSE
defineClass
(StringSE className, byte[] b, ClassLoaderSE loader, ProtectionDomainSE protectionDomain, ClassSE<?> contextClass) static ConstructorSE
findConstructor
(StringSE desc) static ConstructorSE
findConstructor
(StringSE desc, ClassLoaderSE loader) static MethodSE
findDeclaredMethod
(ClassSE type, StringSE methodName, ClassSE[] parameterTypes) static MethodSE
findInterfaceMethod
(ClassSE iface) static MethodSE
findMethod
(StringSE desc) static MethodSE
findMethod
(StringSE desc, ClassLoaderSE loader) static MethodSE[]
findMethods
(StringSE[] namesAndDescriptors, MethodSE[] methods) static MethodSE
findNewInstance
(ClassSE iface) static int
findPackageProtected
(ClassSE[] classes) static PropertyDescriptorSE[]
getBeanGetters
(ClassSE type) static PropertyDescriptorSE[]
getBeanProperties
(ClassSE type) static PropertyDescriptorSE[]
getBeanSetters
(ClassSE type) static ClassSE[]
getClasses
(ObjectSE[] objects) static ClassInfo
getClassInfo
(ClassSE clazz) static ConstructorSE
getConstructor
(ClassSE type, ClassSE[] parameterTypes) static Type[]
getExceptionTypes
(MemberSE member) static MethodInfo
getMethodInfo
(MemberSE member) static MethodInfo
getMethodInfo
(MemberSE member, int modifiers) static StringSE[]
static MethodSE[]
getPropertyMethods
(PropertyDescriptorSE[] properties, boolean read, boolean write) static ProtectionDomainSE
getProtectionDomain
(ClassSE source) static Signature
getSignature
(MemberSE member) static ClassSE<?>
loadClass
(StringSE className, ClassLoaderSE classLoader) static ObjectSE
newInstance
(ClassSE type) static ObjectSE
newInstance
(ClassSE type, ClassSE[] parameterTypes, ObjectSE[] args) static ObjectSE
newInstance
(ConstructorSE cstruct, ObjectSE[] args) static void
setGeneratedClassHandler
(BiConsumerSE<StringSE, byte[]> handler) static void
setLoadedClassHandler
(ConsumerSE<ClassSE<?>> loadedClassHandler)
メソッドの詳細
getProtectionDomain
getExceptionTypes
getSignature
findConstructor
findConstructor
findMethod
findMethod
newInstance
newInstance
newInstance
getConstructor
getNames
getClasses
findNewInstance
getPropertyMethods
public static MethodSE[] getPropertyMethods(PropertyDescriptorSE[] properties, boolean read, boolean write) getBeanProperties
getBeanGetters
getBeanSetters
findDeclaredMethod
public static MethodSE findDeclaredMethod(ClassSE type, StringSE methodName, ClassSE[] parameterTypes) throws NoSuchMethodExceptionSE addAllMethods
addAllInterfaces
findInterfaceMethod
setGeneratedClassHandler
defineClass
public static ClassSE defineClass(StringSE className, byte[] b, ClassLoaderSE loader) throws ExceptionSE - 例外:
ExceptionSE
defineClass
public static ClassSE defineClass(StringSE className, byte[] b, ClassLoaderSE loader, ProtectionDomainSE protectionDomain) throws ExceptionSE - 例外:
ExceptionSE
defineClass
public static ClassSE defineClass(StringSE className, byte[] b, ClassLoaderSE loader, ProtectionDomainSE protectionDomain, ClassSE<?> contextClass) throws ExceptionSE - 例外:
ExceptionSE
setLoadedClassHandler
loadClass
public static ClassSE<?> loadClass(StringSE className, ClassLoaderSE classLoader) throws ClassNotFoundExceptionSE findPackageProtected
getMethodInfo
getMethodInfo
getClassInfo
findMethods