| Modifier and Type | Class and Description |
|---|---|
| public static class | ParsingContext.
Context builder |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ArchiveSelector | |
| pack-priv Map | |
| pack-priv final ParsingConfig | |
| pack-priv final ExecutorService | |
| pack-priv final ResourceLocator | |
| pack-priv final ReentrantLock | |
| pack-priv final Logger | |
| pack-priv final TypesCtr |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ClassVisitor | |
| public ClassVisitor | |
| public ParsingConfig | |
| public ResourceLocator | |
| public TypeBuilder | |
| public Types |
| archiveSelector | back to summary |
|---|---|
| pack-priv final ArchiveSelector archiveSelector | |
| builders | back to summary |
|---|---|
| pack-priv Map<URI, TypeBuilder> builders | |
| config | back to summary |
|---|---|
| pack-priv final ParsingConfig config | |
| executorService | back to summary |
|---|---|
| pack-priv final ExecutorService executorService | |
| locator | back to summary |
|---|---|
| pack-priv final ResourceLocator locator | |
| lock | back to summary |
|---|---|
| pack-priv final ReentrantLock lock | |
| logger | back to summary |
|---|---|
| pack-priv final Logger logger | |
| types | back to summary |
|---|---|
| pack-priv final TypesCtr types | |
| ParsingContext | back to summary |
|---|---|
| private ParsingContext(ParsingContext. | |
| getClassVisitor | back to summary |
|---|---|
| public ClassVisitor getClassVisitor(URI uri, String entryName) | |
| getClassVisitor | back to summary |
|---|---|
| public ClassVisitor getClassVisitor(URI uri, String entryName, boolean isApplicationClass) | |
| getConfig | back to summary |
|---|---|
| public ParsingConfig getConfig() | |
| getLocator | back to summary |
|---|---|
| public ResourceLocator getLocator() | |
| getTypeBuilder | back to summary |
|---|---|
| public TypeBuilder getTypeBuilder(URI definingURI) | |
| getTypes | back to summary |
|---|---|
| public Types getTypes() Return the holder instance of all the visited types. This should only
be called once the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ArchiveSelector | |
| pack-priv ParsingConfig | |
| pack-priv ExecutorService | |
| pack-priv ResourceLocator | |
| pack-priv Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ParsingContext. | Returns: itselfthe archive selector. selector)Sets the archive selector that can selects which jar should be parsed during the parsing activity. |
| public ParsingContext | Returns: the @{link ParsingContext} instanceBuild the final ParsingContext with the provided configuration. |
| public ParsingContext. | Returns: itselfthe config instance config)Sets the parsing config that can be used to select which types should be exhaustively visited (fields + methods visits) or not. |
| public ParsingContext. | Returns: itselfthe executor service to be used during the parsing
activity service)Sets the executor service to be used to spawn threads during the parsing activity. |
| public ParsingContext. | Returns: itselfa resource locator instance locator)Sets the resource locator that can be used to load and parse extra types that were referenced during the parsing but could not be parsed due to their absence from the input archive set. |
| public Logger | Returns: the current logger associated with this builder, either set usinglogger(java. method, either
using the default logger for this library.Returns the configured or default logger for the class-model library. |
| public ParsingContext. |
| archiveSelector | back to summary |
|---|---|
| pack-priv ArchiveSelector archiveSelector | |
| config | back to summary |
|---|---|
| pack-priv ParsingConfig config | |
| executorService | back to summary |
|---|---|
| pack-priv ExecutorService executorService | |
| locator | back to summary |
|---|---|
| pack-priv ResourceLocator locator | |
| logger | back to summary |
|---|---|
| pack-priv Logger logger | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| archiveSelector | back to summary |
|---|---|
| public ParsingContext. Sets the archive selector that can selects which jar should be parsed during the parsing activity. This is particularly useful when the parser is configured to parse an entire directory of jars but only needs to actually parse those jars depending on some environmental condition or if the jar shows a particular stigma (like a jar entry existence).
| |
| build | back to summary |
|---|---|
| public ParsingContext build() Build the final ParsingContext with the provided configuration.
| |
| config | back to summary |
|---|---|
| public ParsingContext. Sets the parsing config that can be used to select which types should be exhaustively visited (fields + methods visits) or not.
| |
| executorService | back to summary |
|---|---|
| public ParsingContext. Sets the executor service to be used to spawn threads during the parsing activity. The parsing activity is an asynchronous process that can choose to spawn threads to handle sub part of the handling process.
| |
| locator | back to summary |
|---|---|
| public ParsingContext. Sets the resource locator that can be used to load and parse extra
types that were referenced during the parsing but could not be parsed
due to their absence from the input archive set. The parser will call
the
| |
| logger | back to summary |
|---|---|
| public Logger logger() Returns the configured or default logger for the class-model library.
| |
| logger | back to summary |
|---|---|
| public ParsingContext. Sets the logger to be used during the parsing activity.
| |