Modifier and Type | Method and Description |
---|---|
Class<?> |
asClass()
As the vanilla reflection class form
|
FastConstructor |
constructor()
Get the default constructor found
|
FastField |
fieldBy(String name)
Get a field from the class
|
FastField[] |
fields()
Get all fields from the class
|
static FastClass |
get(Class<?> cls)
Creates a new FastClass from a Java class
|
static FastClass |
get(Object obj)
Creates a new FastClass from the class object of the object
|
FastMethod |
methodBy(Object object,
String name)
Get a method from the class
|
public static FastClass get(Class<?> cls)
cls
- the class to usepublic static FastClass get(Object obj)
obj
- the object's class to usepublic FastField fieldBy(String name)
name
- Name of the fieldpublic FastMethod methodBy(Object object, String name)
name
- Name of the methodpublic FastField[] fields()
public FastConstructor constructor()
Copyright © 2016. All rights reserved.