Package | Description |
---|---|
serp.bytecode |
Bytecode Manipuation
|
serp.bytecode.visitor |
Bytecode Visitor
|
Modifier and Type | Method and Description |
---|---|
Annotation |
Annotations.addAnnotation(Annotation an)
Import an annotation from another instance.
|
Annotation |
Annotations.addAnnotation(BCClass type)
Add a new annotation.
|
Annotation |
Annotations.addAnnotation(Class type)
Add a new annotation.
|
Annotation |
Annotations.addAnnotation(String type)
Add a new annotation.
|
Annotation |
Annotation.Property.getAnnotation()
The owning annotation.
|
Annotation |
Annotations.getAnnotation(BCClass type)
Return the annotation of the given type, or null if none.
|
Annotation |
Annotations.getAnnotation(Class type)
Return the annotation of the given type, or null if none.
|
Annotation |
Annotations.getAnnotation(String type)
Return the annotation of the given type, or null if none.
|
Annotation[] |
Annotations.getAnnotations()
All declared annotations.
|
Annotation |
Annotation.Property.getAnnotationValue()
Return the annotation value of this property, or null if not set.
|
Annotation[] |
Annotation.Property.newAnnotationArrayValue(BCClass type,
int length)
Set this property value to a new annotation array of the given type
and length, returning the annotations for manipulation.
|
Annotation[] |
Annotation.Property.newAnnotationArrayValue(Class type,
int length)
Set this property value to a new annotation array of the given type
and length, returning the annotations for manipulation.
|
Annotation[] |
Annotation.Property.newAnnotationArrayValue(String type,
int length)
Set this property value to a new annotation array of the given type
and length, returning the annotations for manipulation.
|
Annotation |
Annotation.Property.newAnnotationValue(BCClass type)
Set this property value to a new annotation of the given type,
returning the annotation for manipulation.
|
Annotation |
Annotation.Property.newAnnotationValue(Class type)
Set this property value to a new annotation of the given type,
returning the annotation for manipulation.
|
Annotation |
Annotation.Property.newAnnotationValue(String type)
Set this property value to a new annotation of the given type,
returning the annotation for manipulation.
|
Annotation |
Annotation.Property.setValue(Annotation value)
Set the annotation value of this property by importing the given
annotation from another instance.
|
Annotation[] |
Annotation.Property.setValue(Annotation[] value)
Set the annotation value of this property by importing the given
annotation from another instance.
|
Modifier and Type | Method and Description |
---|---|
Annotation |
Annotations.addAnnotation(Annotation an)
Import an annotation from another instance.
|
boolean |
Annotations.removeAnnotation(Annotation anno)
Remove the given annotation.
|
void |
Annotations.setAnnotations(Annotation[] annos)
Set the annotations.
|
Annotation |
Annotation.Property.setValue(Annotation value)
Set the annotation value of this property by importing the given
annotation from another instance.
|
Annotation[] |
Annotation.Property.setValue(Annotation[] value)
Set the annotation value of this property by importing the given
annotation from another instance.
|
Modifier and Type | Method and Description |
---|---|
void |
BCVisitor.enterAnnotation(Annotation obj) |
void |
PrettyPrintVisitor.enterAnnotation(Annotation obj) |
void |
BCVisitor.exitAnnotation(Annotation obj) |
void |
PrettyPrintVisitor.exitAnnotation(Annotation obj) |
Copyright © 2002–2019. All rights reserved.