Class TypeImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
- All Implemented Interfaces:
AnnotatedElement, Type
- Direct Known Subclasses:
ExtensibleTypeImpl
Implementation of the Type abstraction.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddDefiningURI(URI uri) (package private) voidReturns the defining URIsReturns an unmodifiable collection of methods that are declared in this type.getProxy()Returns a unmodifiable collection of this type references.protected voidprint(StringBuffer sb) booleanwasDefinedIn(Collection<URI> uris) Determine if this type was defined in one of the passed URI or notMethods inherited from class AnnotatedElementImpl
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
-
Field Details
-
sink
-
methods
-
definingURIs
-
-
Constructor Details
-
TypeImpl
-
-
Method Details
-
getDefiningURIs
Description copied from interface:TypeReturns the defining URIs- Specified by:
getDefiningURIsin interfaceType- Returns:
- a collection of URIs in which the type was defined
-
addDefiningURI
-
wasDefinedIn
Description copied from interface:TypeDetermine if this type was defined in one of the passed URI or not- Specified by:
wasDefinedInin interfaceType- Parameters:
uris- collection of URI to check if this type was defined in them.- Returns:
- true if this type as defined in one the passed URI
-
addMethod
-
getMethods
Description copied from interface:TypeReturns an unmodifiable collection of methods that are declared in this type.- Specified by:
getMethodsin interfaceType- Returns:
- methods declared on this type
-
getProxy
-
getReferences
Description copied from interface:TypeReturns a unmodifiable collection of this type references. A reference can be a field declaration in a type which type is this instance or it can be a method declaration which return type is this type- Specified by:
getReferencesin interfaceType- Returns:
- references on this type
-
print
- Overrides:
printin classAnnotatedElementImpl
-