| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final Stack | nonVisited
Stack on type proxy as they have been instantiated in FILO order. |
| private final ConcurrentMap | storage
Storage indexed by TYPE : interface | class | annotation and then by name. |
| private final ConcurrentMap | unknownTypesStorage
Map of encountered types which we don't know if it is an interface, class or annotation |
| private final ReentrantLock |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Collection | getAllTypes()
Implements org. Returns a unmodifiable list of collected types obtained during the parsing activity |
| public Type | getBy(String name)
Implements org. Returns a Type instance given a name |
| public <T extends Type> T | getBy(Class<T> type, String name)
Implements org. Returns a Model instance given a name |
| public TypeProxy | |
| public <T extends Type> TypeProxy | |
| public void | onNotVisitedEntries(TypesCtr.
the task to run on each non visited type. proxyTaskRuns a task on each non visited types parsing discovered. |
| nonVisited | back to summary |
|---|---|
| private final Stack<TypeProxy<T extends Type>> nonVisited Stack on type proxy as they have been instantiated in FILO order. | |
| storage | back to summary |
|---|---|
| private final ConcurrentMap<Class<T>, ConcurrentMap<String, TypeProxy<Type>>> storage Storage indexed by TYPE : interface | class | annotation and then by name. | |
| unknownTypesStorage | back to summary |
|---|---|
| private final ConcurrentMap<String, TypeProxy<Type>> unknownTypesStorage Map of encountered types which we don't know if it is an interface, class or annotation | |
| unknownTypesStorageLock | back to summary |
|---|---|
| private final ReentrantLock unknownTypesStorageLock | |
| TypesCtr | back to summary |
|---|---|
| public TypesCtr() | |
| clearNonVisitedEntries | back to summary |
|---|---|
| public void clearNonVisitedEntries() | |
| getAllTypes | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Returns a unmodifiable list of collected types obtained during the parsing activity
| |
| getBy | back to summary |
|---|---|
| public Type getBy(String name) Implements org. Doc from org. Returns a Type instance given a name
| |
| getBy | back to summary |
|---|---|
| public <T extends Type> T getBy(Class<T> type, String name) Implements org. Doc from org. Returns a Model instance given a name
| |
| getHolder | back to summary |
|---|---|
| public TypeProxy | |
| getHolder | back to summary |
|---|---|
| public <T extends Type> TypeProxy | |
| onNotVisitedEntries | back to summary |
|---|---|
| public void onNotVisitedEntries(TypesCtr. Runs a task on each non visited types parsing discovered. | |
| on | back to summary |
|---|---|
| public void on(TypeProxy<?> proxy) | |