Module org.glassfish.hk2.classmodel
Class TypesCtr
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.TypesCtr
- All Implemented Interfaces:
Types
contains all the parsed types references.
- Author:
- Jerome Dochez
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns a unmodifiable list of collected types obtained during the parsing activity<T extends Type>
TReturns a Model instance given a nameReturns a Type instance given a namevoidonNotVisitedEntries(TypesCtr.ProxyTask proxyTask) Runs a task on each non visited types parsing discovered.
-
Constructor Details
-
TypesCtr
public TypesCtr()
-
-
Method Details
-
getBy
Description copied from interface:TypesReturns a Type instance given a name -
getBy
Description copied from interface:TypesReturns a Model instance given a name- Specified by:
getByin interfaceTypes- Parameters:
type- type of the requested model (seeExtensibleTypederivatives)name- the requested type name- Returns:
- the type instance or null if not found
-
getHolder
-
getHolder
-
onNotVisitedEntries
Runs a task on each non visited types parsing discovered.- Parameters:
proxyTask- the task to run on each non visited type.
-
clearNonVisitedEntries
public void clearNonVisitedEntries() -
getAllTypes
Description copied from interface:TypesReturns a unmodifiable list of collected types obtained during the parsing activity- Specified by:
getAllTypesin interfaceTypes- Returns:
- list of types
-