Documentation of 'org.apache.bcel.generic.SimpleElementValueGen' Java class
SimpleElementValueGen
org.apache.bcel.generic

Class SimpleElementValueGen

    • Constructor Detail

      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     int value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     long value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     double value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     float value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     short value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     byte value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     char value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     boolean value)
      • SimpleElementValueGen

        public SimpleElementValueGen(int type,
                                     ConstantPoolGen cpGen,
                                     java.lang.String value)
      • SimpleElementValueGen

        public SimpleElementValueGen(SimpleElementValue value,
                                     ConstantPoolGen 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.
    • Method Detail

      • getIndex

        public int getIndex()
      • getValueString

        public java.lang.String getValueString()
      • getValueInt

        public int getValueInt()
      • dump

        public void dump(java.io.DataOutputStream dos)
                  throws java.io.IOException
        Specified by:
        dump in class ElementValueGen
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.