/** * Returns the name of the class in which the field is declared. */ public String getClassName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefClassName(index); }
/** * Returns the signature of the field type. * The signature is represented by a character string * called field descriptor, which is defined in the JVM specification. * * @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool) * @since 3.1 */ public String getSignature() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefType(index); }
/** * Returns the name of the field. */ public String getFieldName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefName(index); }
/** * Returns the name of the class in which the field is declared. */ public String getClassName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefClassName(index); }
/** * Returns the signature of the field type. * The signature is represented by a character string * called field descriptor, which is defined in the JVM specification. * * @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool) * @since 3.1 */ public String getSignature() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefType(index); }
/** * Returns the name of the field. */ public String getFieldName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefName(index); }
/** * Returns the field accessed by this expression. */ public CtField getField() throws NotFoundException { CtClass cc = getCtClass(); int index = iterator.u16bitAt(currentPos + 1); ConstPool cp = getConstPool(); return cc.getField(cp.getFieldrefName(index), cp.getFieldrefType(index)); }
/** * Returns the field accessed by this expression. */ public CtField getField() throws NotFoundException { CtClass cc = getCtClass(); int index = iterator.u16bitAt(currentPos + 1); ConstPool cp = getConstPool(); return cc.getField(cp.getFieldrefName(index), cp.getFieldrefType(index)); }
ConstPool constPool = getConstPool(); int pos = currentPos; int index = iterator.u16bitAt(pos + 1);
public void replace(String statement) throws CannotCompileException { ConstPool constPool = getConstPool(); int pos = currentPos; int index = iterator.u16bitAt(pos + 1);
/** * Returns the signature of the field type. * The signature is represented by a character string * called field descriptor, which is defined in the JVM specification. * * @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool) * @since 3.1 */ public String getSignature() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefType(index); }
/** * Returns the name of the class in which the field is declared. */ public String getClassName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefClassName(index); }
/** * Returns the name of the field. */ public String getFieldName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefName(index); }
/** * Returns the name of the field. */ public String getFieldName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefName(index); }
/** * Returns the name of the class in which the field is declared. */ public String getClassName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefClassName(index); }
/** * Returns the signature of the field type. * The signature is represented by a character string * called field descriptor, which is defined in the JVM specification. * * @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool) * @since 3.1 */ public String getSignature() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefType(index); }
/** * Returns the name of the field. */ public String getFieldName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefName(index); }
/** * Returns the name of the class in which the field is declared. */ public String getClassName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefClassName(index); }
/** * Returns the name of the field. */ public String getFieldName() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefName(index); }
/** * Returns the signature of the field type. * The signature is represented by a character string * called field descriptor, which is defined in the JVM specification. * * @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool) * @since 3.1 */ public String getSignature() { int index = iterator.u16bitAt(currentPos + 1); return getConstPool().getFieldrefType(index); }