public static class ReflectionUtils.RefClass
extends java.lang.Object
            | Modifier and Type | Method and Description | 
|---|---|
ReflectionUtils.RefConstructor
                             | 
                            findConstructor(int number)
                                find constructor by number of arguments 
                             | 
                        
ReflectionUtils.RefField
                             | 
                            findField(java.lang.Class type)
                                find field by type 
                             | 
                        
ReflectionUtils.RefField
                             | 
                            findField(ReflectionUtils.RefClass type)
                                find field by type 
                             | 
                        
ReflectionUtils.RefMethod
                             | 
                            findMethod(java.lang.Object... types)
                                find method by type parameters 
                             | 
                        
ReflectionUtils.RefMethod
                             | 
                            findMethodByName(java.lang.String... names)
                                find method by name 
                             | 
                        
ReflectionUtils.RefMethod
                             | 
                            findMethodByReturnType(java.lang.Class type)
                                find method by return value 
                             | 
                        
ReflectionUtils.RefMethod
                             | 
                            findMethodByReturnType(ReflectionUtils.RefClass type)
                                find method by return value 
                             | 
                        
ReflectionUtils.RefConstructor
                             | 
                            getConstructor(java.lang.Object... types)
                                get existing constructor by types 
                             | 
                        
ReflectionUtils.RefField
                             | 
                            getField(java.lang.String name)
                                get field by name 
                             | 
                        
ReflectionUtils.RefMethod
                             | 
                            getMethod(java.lang.String name,
                                java.lang.Object... types)
                                get existing method by name and types 
                             | 
                        
java.lang.Class<?> | 
                            getRealClass()
                                get passed class 
                             | 
                        
boolean | 
                            isInstance(java.lang.Object object)
                                see  
                            Class.isInstance(Object) | 
                        
public java.lang.Class<?> getRealClass()
public boolean isInstance(java.lang.Object object)
Class.isInstance(Object)object - the object to checkpublic ReflectionUtils.RefMethod getMethod(java.lang.String name, java.lang.Object... types) throws java.lang.NoSuchMethodException
name - nametypes - method parameters. can be Class or RefClassjava.lang.RuntimeException - if method not foundjava.lang.NoSuchMethodExceptionpublic ReflectionUtils.RefConstructor getConstructor(java.lang.Object... types)
types - parameters. can be Class or RefClassjava.lang.RuntimeException - if constructor not foundpublic ReflectionUtils.RefMethod findMethod(java.lang.Object... types)
types - parameters. can be Class or RefClassjava.lang.RuntimeException - if method not foundpublic ReflectionUtils.RefMethod findMethodByName(java.lang.String... names)
names - possible names of methodjava.lang.RuntimeException - if method not foundpublic ReflectionUtils.RefMethod findMethodByReturnType(ReflectionUtils.RefClass type)
type - type of returned valuejava.lang.RuntimeException - if method not foundpublic ReflectionUtils.RefMethod findMethodByReturnType(java.lang.Class type)
type - type of returned valuejava.lang.RuntimeException - if method not foundpublic ReflectionUtils.RefConstructor findConstructor(int number)
number - number of argumentsjava.lang.RuntimeException - if constructor not foundpublic ReflectionUtils.RefField getField(java.lang.String name)
name - field namejava.lang.RuntimeException - if field not foundpublic ReflectionUtils.RefField findField(ReflectionUtils.RefClass type)
type - field typejava.lang.RuntimeException - if field not foundpublic ReflectionUtils.RefField findField(java.lang.Class type)
type - field typejava.lang.RuntimeException - if field not found