public class ClassModel<C> extends Object
Modifier and Type | Method and Description |
---|---|
static <C> ClassModel<C> |
get(ClassAccess<C> classAccess)
Returns a class model for the given ClassAccess instance.
|
ClassAccess<C> |
getClassAccess()
Access the ClassAccess associated with the ClassModel
|
CloneImplementor |
getCloneImplementor()
If there is a method or constructor configured as a @Cloner instance, the CloneImplementor
that can invoke this method will be returned
|
Class<?> |
getModelClass()
Access the Class associated with the ClassModel
|
FieldModel<C>[] |
getModelFields()
Return an array of FieldModel for the class - one entry per Field
|
ClassModel<? super C> |
getSuperClassModel()
Access the model for the super class
|
boolean |
isDetectedAsImmutable()
Indicates whether the class has been determined to be immutable
|
boolean |
isFlat()
Indicates whether the class should be treated as Flat.
|
boolean |
isNonCloneable()
Indicates whether the class should be treated as Non-Cloneable.
|
public static final <C> ClassModel<C> get(ClassAccess<C> classAccess)
C
- The type of classclassAccess
- The ClassAccesspublic Class<?> getModelClass()
public ClassAccess<C> getClassAccess()
public ClassModel<? super C> getSuperClassModel()
public boolean isDetectedAsImmutable()
public boolean isNonCloneable()
public boolean isFlat()
public CloneImplementor getCloneImplementor()
public FieldModel<C>[] getModelFields()
Copyright © 2010–2018 Jadira Systems. All rights reserved.