Module org.glassfish.hk2.classmodel
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
-
Field Summary
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl
parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable collection of all classes implementing this interface.Returns an unmodifiable collection of classes directly implementing this interfaceprotected void
print
(StringBuffer sb) prints a meaningful stringMethods inherited from class org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl
allSubTypes, getFormalTypeParameters, getInterfaces, getParameterizedInterface, getParameterizedInterfaces, getParent, getSimpleName, getStaticFields, isInstanceOf, setFormalTypeParameters, setParent, subTypes
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
getDefiningURIs, getMethods, getReferences, wasDefinedIn
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.ExtensibleType
allSubTypes, getFormalTypeParameters, getInterfaces, getParameterizedInterface, getParameterizedInterfaces, getParent, getSimpleName, getStaticFields, isInstanceOf, subTypes
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type
getDefiningURIs, getMethods, getReferences, wasDefinedIn
-
Constructor Details
-
InterfaceModelImpl
-
-
Method Details
-
implementations
Description copied from interface:InterfaceModel
Returns an unmodifiable collection of classes directly implementing this interface- Specified by:
implementations
in interfaceInterfaceModel
- Returns:
- list of classes implementing this interface
-
allImplementations
Description copied from interface:InterfaceModel
Returns an unmodifiable collection of all classes implementing this interface.- Specified by:
allImplementations
in interfaceInterfaceModel
- Returns:
- list of classes directly implementing this interface
-
print
Description copied from class:ExtensibleTypeImpl
prints a meaningful string- Overrides:
print
in classExtensibleTypeImpl<InterfaceModel>
- Parameters:
sb
- the string buffer to write to.
-