public class ClassInfo extends Object
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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.