org.glassfish.hk2.classmodel.reflect.impl
Class ClassModelImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl<ClassModel>
org.glassfish.hk2.classmodel.reflect.impl.ClassModelImpl
- All Implemented Interfaces:
- AnnotatedElement, ClassModel, ExtensibleType<ClassModel>, Type
public class ClassModelImpl
- extends ExtensibleTypeImpl<ClassModel>
- implements ClassModel
Implementation of a class model
ClassModelImpl
public ClassModelImpl(String name,
TypeProxy<Type> sink,
TypeProxy parent)
getFields
public Collection<FieldModel> getFields()
- Description copied from interface:
ClassModel
- Returns an unmodifiable collection of fields models that represent
all the declared fields of this classes.
- Specified by:
getFields
in interface ClassModel
- Returns:
- collection of declared fields
print
protected void print(StringBuffer sb)
- Description copied from class:
ExtensibleTypeImpl
- prints a meaningful string
- Overrides:
print
in class ExtensibleTypeImpl<ClassModel>
- Parameters:
sb
- the string buffer to write to.
Copyright © 2013 Oracle Corporation. All Rights Reserved.