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
|
Method Summary |
java.util.Collection<FieldModel> |
getFields()
Returns an unmodifiable collection of fields models that represent
all the declared fields of this classes. |
java.util.Collection<InterfaceModel> |
getInterfaces()
Returns an unmodifiable list of interfaces implemented by this class |
protected void |
print(java.lang.StringBuffer sb)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClassModelImpl
public ClassModelImpl(java.lang.String name,
TypeProxy<Type> sink,
java.net.URI definingURI,
TypeProxy parent)
getInterfaces
public java.util.Collection<InterfaceModel> getInterfaces()
- Description copied from interface:
ClassModel
- Returns an unmodifiable list of interfaces implemented by this class
- Specified by:
getInterfaces in interface ClassModel
- Returns:
- collection of implemented interfaces
getFields
public java.util.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(java.lang.StringBuffer sb)
- Overrides:
print in class ExtensibleTypeImpl<ClassModel>
Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.