Klasse SimpleElementValue

java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.ElementValue
org.aspectj.apache.bcel.classfile.annotation.SimpleElementValue

public class SimpleElementValue extends ElementValue
  • Konstruktordetails

    • SimpleElementValue

      protected SimpleElementValue(int type, int idx, ConstantPool cpGen)
      Protected ctor used for deserialization, doesn't *put* an entry in the constant pool, assumes the one at the supplied index is correct.
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, int value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, long value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, double value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, float value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, short value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, byte value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, char value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, boolean value)
    • SimpleElementValue

      public SimpleElementValue(int type, ConstantPool cpGen, String value)
    • SimpleElementValue

      public SimpleElementValue(SimpleElementValue value, ConstantPool cpool, boolean copyPoolEntries)
      The boolean controls whether we copy info from the 'old' constant pool to the 'new'. You need to use this ctor if the annotation is being copied from one file to another.
  • Methodendetails

    • getValueByte

      public byte getValueByte()
    • getValueChar

      public char getValueChar()
    • getValueLong

      public long getValueLong()
    • getValueFloat

      public float getValueFloat()
    • getValueDouble

      public double getValueDouble()
    • getValueBoolean

      public boolean getValueBoolean()
    • getValueShort

      public short getValueShort()
    • getIndex

      public int getIndex()
    • getValueString

      public String getValueString()
    • getValueInt

      public int getValueInt()
    • stringifyValue

      public String stringifyValue()
      Angegeben von:
      stringifyValue in Klasse ElementValue
    • toString

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

      public void dump(DataOutputStream dos) throws IOException
      Angegeben von:
      dump in Klasse ElementValue
      Löst aus:
      IOException