public class ClassInfo extends Object
Modifier and Type | Method and Description |
---|---|
FieldInfo |
getFieldInfo(String name,
boolean required) |
Class<?> |
getType() |
public ClassInfo(Class<?> cls)
public Class<?> getType()
public FieldInfo getFieldInfo(String name, boolean required)
name
- the name of the fieldrequired
- if true never returns null (if the FieldInfo is not available, an exception will be thrown).
If false and FieldInfo is not available then null will be returned.Copyright © 2014 JBoss by Red Hat. All rights reserved.