Examples of ConstantNameAndType


Examples of org.aspectj.apache.bcel.classfile.ConstantNameAndType

   * @return name of referenced method/field.
   */
  public String getName(ConstantPool cp) {
    if (name == null) {
      ConstantCP cmr = (ConstantCP) cp.getConstant(index);
      ConstantNameAndType cnat = (ConstantNameAndType) cp.getConstant(cmr.getNameAndTypeIndex());
      name = ((ConstantUtf8) cp.getConstant(cnat.getNameIndex())).getValue();
    }
    return name;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.