Top Description Methods
org.glassfish.hk2.classmodel.reflect

public Interface Type

extends AnnotatedElement
Known Direct Subinterfaces
org.glassfish.hk2.classmodel.reflect.ExtensibleType
Known Direct Implementers
org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
Imports
java.util.Collection, java.net.URI

A type defines java type which can be an interface or a class.
Author
Jerome Dochez

Method Summary

Modifier and TypeMethod and Description
public Collection<URI>

Returns:

a collection of URIs in which the type was defined
getDefiningURIs
()

Returns the defining URIs

public Collection<MethodModel>

Returns:

methods declared on this type
getMethods
()

Returns an unmodifiable collection of methods that are declared in this type.

public Collection<Member>

Returns:

references on this type
getReferences
()

Returns a unmodifiable collection of this type references.

public boolean

Returns:

true if this type as defined in one the passed URI
wasDefinedIn
(Collection<URI>
collection of URI to check if this type was defined in them.
uris
)

Determine if this type was defined in one of the passed URI or not

Inherited from org.glassfish.hk2.classmodel.reflect.AnnotatedElement:
getAnnotationgetAnnotationsgetNameshortDesc

Method Detail

getDefiningURIsback to summary
public Collection<URI> getDefiningURIs()

Returns the defining URIs

Returns:Collection<URI>

a collection of URIs in which the type was defined

getMethodsback to summary
public Collection<MethodModel> getMethods()

Returns an unmodifiable collection of methods that are declared in this type.

Returns:Collection<MethodModel>

methods declared on this type

getReferencesback to summary
public Collection<Member> getReferences()

Returns 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

Returns:Collection<Member>

references on this type

wasDefinedInback to summary
public boolean wasDefinedIn(Collection<URI> uris)

Determine if this type was defined in one of the passed URI or not

Parameters
uris:Collection<URI>

collection of URI to check if this type was defined in them.

Returns:boolean

true if this type as defined in one the passed URI