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