Klasse AnnotationGen
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.AnnotationGen
- Bekannte direkte Unterklassen:
FakeAnnotation
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungAnnotationGen
(AnnotationGen a, ConstantPool cpool, boolean copyPoolEntries) AnnotationGen
(ObjectType type, List<NameValuePair> pairs, boolean runtimeVisible, ConstantPool cpool) Retrieve an immutable version of this AnnotationGen -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
void
dump
(DataOutputStream dos) int
boolean
hasNamedValue
(String name) boolean
hasNameValuePair
(String name, String value) boolean
static AnnotationGen
read
(DataInputStream dis, ConstantPool cpool, boolean b) toString()
-
Felddetails
-
NO_ANNOTATIONS
-
-
Konstruktordetails
-
AnnotationGen
-
AnnotationGen
public AnnotationGen(ObjectType type, List<NameValuePair> pairs, boolean runtimeVisible, ConstantPool cpool) Retrieve an immutable version of this AnnotationGen
-
-
Methodendetails
-
read
public static AnnotationGen read(DataInputStream dis, ConstantPool cpool, boolean b) throws IOException - Löst aus:
IOException
-
dump
- Löst aus:
IOException
-
addElementNameValuePair
-
getTypeIndex
public int getTypeIndex() -
getTypeSignature
-
getTypeName
-
getValues
-
toString
-
toShortString
-
isRuntimeVisible
public boolean isRuntimeVisible() -
hasNameValuePair
- Gibt zurück:
- true if the annotation has a value with the specified name and (toString'd) value
-
hasNamedValue
- Gibt zurück:
- true if the annotation has a value with the specified name
-