Package io.github.toolfactory.util
Class Reflection
java.lang.Object
io.github.toolfactory.util.Reflection
public class Reflection extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Reflection.Factory
-
Method Summary
Modifier and Type Method Description Collection<Constructor<?>>
getAllConstructors(Class<?> cls)
Collection<Field>
getAllFields(Class<?> cls)
Collection<Method>
getAllMethods(Class<?> cls)
Collection<Constructor<?>>
getDeclaredConstructors(Class<?> cls)
Field
getDeclaredField(Class<?> cls, String name)
Collection<Field>
getDeclaredFields(Class<?> cls)
Collection<Method>
getDeclaredMethods(Class<?> cls)
Driver
getDriver()
<T> T
getFieldValue(Object target, Field field)
void
setFieldValue(Object target, Field field, Object value)
-
Method Details
-
getDriver
-
getDeclaredMethods
-
getAllMethods
-
getFieldValue
-
setFieldValue
-
getDeclaredField
-
getDeclaredFields
-
getAllFields
-
getDeclaredConstructors
-
getAllConstructors
-