public static class ClassVisitorWrapper.Compound extends Object implements ClassVisitorWrapper
ClassVisitorWrappers.ClassVisitorWrapper.Compound, ClassVisitorWrapper.NoOp| Constructor and Description | 
|---|
| Compound(ClassVisitorWrapper... classVisitorWrapper)Creates a new immutable chain based on an existing list of  ClassVisitorWrappers
 where no copy of the received array is made. | 
| Compound(List<? extends ClassVisitorWrapper> classVisitorWrappers)Creates a new immutable chain based on an existing list of  ClassVisitorWrappers
 where no copy of the received list is made. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| int | mergeReader(int flags)Defines the flags that are provided to any  ClassReaderwhen reading a class if applicable. | 
| int | mergeWriter(int flags)Defines the flags that are provided to any  ClassWriterwhen writing a class. | 
| String | toString() | 
| ClassVisitor | wrap(ClassVisitor classVisitor)Applies a  ClassVisitorWrapperto the creation of aDynamicType. | 
public Compound(ClassVisitorWrapper... classVisitorWrapper)
ClassVisitorWrappers
 where no copy of the received array is made.classVisitorWrapper - An array of ClassVisitorWrappers where elements
                            at the beginning of the list are applied first, i.e. will be at the bottom of the generated
                            ClassVisitor.public Compound(List<? extends ClassVisitorWrapper> classVisitorWrappers)
ClassVisitorWrappers
 where no copy of the received list is made.classVisitorWrappers - A list of ClassVisitorWrappers where elements
                             at the beginning of the list are applied first, i.e. will be at the bottom of the generated
                             ClassVisitor.public int mergeWriter(int flags)
ClassVisitorWrapperClassWriter when writing a class. Typically, this gives opportunity to instruct ASM
 to compute stack map frames or the size of the local variables array and the operand stack. If no specific flags are required for
 applying this wrapper, the given value is to be returned.mergeWriter in interface ClassVisitorWrapperflags - The currently set flags. This value should be combined (e.g. flags | foo) into the value that is returned by this wrapper.ClassWriter.public int mergeReader(int flags)
ClassVisitorWrapperClassReader when reading a class if applicable. Typically, this gives opportunity to
 instruct ASM to expand or skip frames and to skip code and debug information. If no specific flags are required for applying this
 wrapper, the given value is to be returned.mergeReader in interface ClassVisitorWrapperflags - The currently set flags. This value should be combined (e.g. flags | foo) into the value that is returned by this wrapper.ClassReader.public ClassVisitor wrap(ClassVisitor classVisitor)
ClassVisitorWrapperClassVisitorWrapper to the creation of a DynamicType.wrap in interface ClassVisitorWrapperclassVisitor - A ClassVisitor to become the new primary class visitor to which the created
                     DynamicType is written to.ClassVisitor that usually delegates to the ClassVisitor delivered in the argument.Copyright © 2014–2015. All rights reserved.