ClassVisitor that supplies contextual information, similar to a DynamicType.
Reading auxiliary types or the loaded type initializer of this type
| Modifier and Type | Field and Description |
|---|---|
| private boolean | active
If |
| Access | Constructor and Description |
|---|---|
| protected | ContextClassVisitor(ClassVisitor
The class visitor to delegate to. classVisitor)Creates a new context class visitor. |
| Modifier and Type | Method and Description |
|---|---|
| public ContextClassVisitor | Returns: This instance marked as active.Allows this class visitor to result in auxiliary types or an active type initializer. |
| public abstract List | Returns: The auxiliary types that this class visitor currently supplies.Returns the auxiliary types that this class visitor currently supplies. |
| public abstract LoadedTypeInitializer | Returns: The loaded type initializer that this class visitor currently implies.Returns the loaded type initializer that this class visitor currently implies. |
| public void |
| active | back to summary |
|---|---|
| private boolean active If | |
| ContextClassVisitor | back to summary |
|---|---|
| protected ContextClassVisitor(ClassVisitor classVisitor) Creates a new context class visitor.
| |
| active | back to summary |
|---|---|
| public ContextClassVisitor active() Allows this class visitor to result in auxiliary types or an active type initializer.
| |
| getAuxiliaryTypes | back to summary |
|---|---|
| public abstract List Returns the auxiliary types that this class visitor currently supplies.
| |
| getLoadedTypeInitializer | back to summary |
|---|---|
| public abstract LoadedTypeInitializer getLoadedTypeInitializer() Returns the loaded type initializer that this class visitor currently implies.
| |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Overrides net. Doc from net. Visits the end of the class. This method, which is the last one to be called, is used to inform the visitor that all the fields and methods of the class have been visited.
| |