Available Methods
- T_BYTE
- INVOKESTATIC
- T_LONG
- T_ARRAY
- T_INT
- T_CHAR
- T_SHORT
- INVOKEINTERFACE
- T_DOUBLE
- T_FLOAT
- CONSTANT_Methodref ( )
- T_BOOLEAN
- IRETURN
- T_OBJECT
- ATTR_DEPRECATED
- CONSTANT_Long ( )
- T_VOID
- CONSTANT_Fieldref ( )
- CONSTANT_Class ( )
- INVOKEVIRTUAL
- CONSTANT_Double ( )
- LLOAD
- ATTR_INNER_CLASSES
- ACC_ABSTRACT
- IINC
- CONSTANT_NameAndType ( )
- CONSTANT_Float ( )
- F2D ( )
- LSUB
- INEG
- IFLE
- ACC_INTERFACE
- CONSTANT_NAMES
- ACC_STATIC
- LAND
- RETURN
- IFGT
- FSTORE
- ACC_FINAL
- CONSTANT_InterfaceMethodref ( )
- ISUB
- F2L ( )
- DADD
- LSHL
- IFNONNULL
- ACC_SUPER
- FDIV
- ICONST_0 ( )
- LDIV
Related Classes
- java.util.StringTokenizer
- java.awt.event.ActionEvent
- java.awt.event.ActionListener
- org.apache.bcel.Repository
- org.apache.bcel.generic.Type
- org.apache.bcel.generic.InstructionHandle
- org.apache.bcel.generic.ConstantPoolGen
- org.apache.bcel.generic.InstructionList
- org.apache.bcel.generic.ObjectType
- org.apache.bcel.generic.ClassGen
- org.apache.bcel.generic.MethodGen
- edu.umd.cs.findbugs.Priorities
- edu.umd.cs.findbugs.BugInstance
- org.luaj.vm2.LuaString
- org.apache.bcel.generic.INVOKEVIRTUAL
- org.apache.bcel.generic.ALOAD
- org.apache.bcel.generic.FieldGen
- org.apache.bcel.generic.InvokeInstruction
- org.apache.bcel.generic.GETSTATIC
- org.apache.bcel.generic.InstructionFactory
- org.apache.bcel.classfile.Utility
- org.apache.bcel.generic.ASTORE
- org.luaj.vm2.Lua
- org.apache.bcel.classfile.ConstantCP
- org.apache.bcel.classfile.ConstantNameAndType
Java Code Examples for org.apache.bcel.Constants#CONSTANT_NAMES
The following examples show how to use
org.apache.bcel.Constants#CONSTANT_NAMES .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConstantPool.java From ApkToolPlus with Apache License 2.0 | 6 votes |
/** * Get constant from constant pool and check whether it has the * expected type. * * @param index Index in constant pool * @param tag Tag of expected constant, i.e., its type * @return Constant value * @see Constant * @throws ClassFormatException */ public Constant getConstant(int index, byte tag) throws ClassFormatException { Constant c; c = getConstant(index); if(c == null) throw new ClassFormatException("Constant pool at index " + index + " is null."); if(c.getTag() == tag) return c; else throw new ClassFormatException("Expected class `" + Constants.CONSTANT_NAMES[tag] + "' at index " + index + " and got " + c); }
Example 2
Source File: Constant.java From ApkToolPlus with Apache License 2.0 | 4 votes |
/** * @return String representation. */ public String toString() { return Constants.CONSTANT_NAMES[tag] + "[" + tag + "]"; }