Modifier and Type | Class and Description |
---|---|
static interface |
TypesCtr.ProxyTask |
Constructor and Description |
---|
TypesCtr() |
Modifier and Type | Method and Description |
---|---|
void |
clearNonVisitedEntries() |
Collection<Type> |
getAllTypes()
Returns a unmodifiable list of collected types obtained during the parsing activity
|
<T extends Type> |
getBy(Class<T> type,
String name)
Returns a Model instance given a name
|
Type |
getBy(String name)
Returns a Type instance given a name
|
TypeProxy<Type> |
getHolder(String name) |
<T extends Type> |
getHolder(String name,
Class<T> type) |
void |
onNotVisitedEntries(TypesCtr.ProxyTask proxyTask)
Runs a task on each non visited types parsing discovered.
|
public Type getBy(String name)
Types
public <T extends Type> T getBy(Class<T> type, String name)
Types
getBy
in interface Types
type
- type of the requested model (see ExtensibleType
derivatives)name
- the requested type namepublic void onNotVisitedEntries(TypesCtr.ProxyTask proxyTask)
proxyTask
- the task to run on each non visited type.public void clearNonVisitedEntries()
public Collection<Type> getAllTypes()
Types
getAllTypes
in interface Types
Copyright © 2009–2023 Oracle Corporation. All rights reserved.