Klasse AnnotationGen

java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.AnnotationGen
Bekannte direkte Unterklassen:
FakeAnnotation

public class AnnotationGen extends Object
  • Felddetails

    • NO_ANNOTATIONS

      public static final AnnotationGen[] NO_ANNOTATIONS
  • Konstruktordetails

  • Methodendetails

    • read

      public static AnnotationGen read(DataInputStream dis, ConstantPool cpool, boolean b) throws IOException
      Löst aus:
      IOException
    • dump

      public void dump(DataOutputStream dos) throws IOException
      Löst aus:
      IOException
    • addElementNameValuePair

      public void addElementNameValuePair(NameValuePair evp)
    • getTypeIndex

      public int getTypeIndex()
    • getTypeSignature

      public String getTypeSignature()
    • getTypeName

      public String getTypeName()
    • getValues

      public List<NameValuePair> getValues()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • toShortString

      public String toShortString()
    • isRuntimeVisible

      public boolean isRuntimeVisible()
    • hasNameValuePair

      public boolean hasNameValuePair(String name, String value)
      Gibt zurück:
      true if the annotation has a value with the specified name and (toString'd) value
    • hasNamedValue

      public boolean hasNamedValue(String name)
      Gibt zurück:
      true if the annotation has a value with the specified name