Klasse AnnotationGen
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.AnnotationGen
- Bekannte direkte Unterklassen:
FakeAnnotation
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAnnotationGen(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 TypMethodeBeschreibungvoidvoiddump(DataOutputStream dos) intbooleanhasNamedValue(String name) booleanhasNameValuePair(String name, String value) booleanstatic AnnotationGenread(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
-