public class ReflectDataStorage extends Object
Constructor and Description |
---|
ReflectDataStorage(int gamut) |
Modifier and Type | Method and Description |
---|---|
Field |
getFeild(String name)
Gets field by name.
|
Field |
getFieldByAnnotation(String name)
Gets field by annotation
|
Method |
getMethod(String method)
Gets the method
|
Method |
getMethod(String field,
boolean set)
Gets the method
|
Method |
getMethodByAnnotation(String methodAnnotation)
Gets method by annotation
|
XmlRootElement |
getRootElement()
Gets the root element.
|
Class |
getType()
get type field
|
Class<?> |
getTypeForName(String name)
Is class exists
|
XmlType |
getXmlType()
Gets the xml type.
|
boolean |
isTypeExistForName(String name)
is type class exist
|
void |
parseClass(Class<?> _class)
Parses the class.
|
public void parseClass(Class<?> _class)
_class
- the classpublic boolean isTypeExistForName(String name)
name
- - annotationpublic Class<?> getTypeForName(String name)
name
- the annotation namepublic XmlRootElement getRootElement()
public XmlType getXmlType()
public Class getType()
public final Field getFeild(String name)
name
- the field namepublic final Field getFieldByAnnotation(String name)
name
- the annotation namepublic final Method getMethodByAnnotation(String methodAnnotation)
methodAnnotation
- annotation namepublic final Method getMethod(String method)
method
- the method nameCopyright © 2000–2022 EPAM Systems. All rights reserved.