|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.annotation.instrumentation.asm.CustomAttributeHelper
public class CustomAttributeHelper
Helper class to wrap a custom annotation proxy (1.3/1.4 javadoc annotation) in a RuntimeInvisibleAnnotations.
The proxy is wrapped in a AnnotationInfo object which is serialized
and base64 encoded (ASM issue on array types in RIV).
| Constructor Summary | |
|---|---|
CustomAttributeHelper()
|
|
| Method Summary | |
|---|---|
static org.objectweb.asm.attrs.Annotation |
createCustomAnnotation(byte[] bytes)
Create an Annotation bytecode representation from the serialized version of the custom annotation proxy |
static AnnotationInfo |
extractCustomAnnotation(org.objectweb.asm.attrs.Annotation annotation)
Extract the AnnotationInfo from the bytecode Annotation representation. |
static org.objectweb.asm.attrs.RuntimeInvisibleAnnotations |
linkRuntimeInvisibleAnnotations(org.objectweb.asm.Attribute attribute)
Helper method to find the first RuntimeInvisibleAnnotations attribute in an Attribute chain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomAttributeHelper()
| Method Detail |
|---|
public static AnnotationInfo extractCustomAnnotation(org.objectweb.asm.attrs.Annotation annotation)
annotation - must be a valid RIV, of type CustomAttribute.TYPE
public static org.objectweb.asm.attrs.Annotation createCustomAnnotation(byte[] bytes)
bytes -
public static org.objectweb.asm.attrs.RuntimeInvisibleAnnotations linkRuntimeInvisibleAnnotations(org.objectweb.asm.Attribute attribute)
attribute -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||