Lines Matching defs:desc
704 String desc = constPool.getFieldrefType(index);
705 Type type = zeroExtend(typeFromDesc(desc));
716 String desc = constPool.getInterfaceMethodrefType(index);
717 Type[] types = paramTypesFromDesc(desc);
727 Type returnType = returnTypeFromDesc(desc);
733 String desc = constPool.getMethodrefType(index);
734 Type[] types = paramTypesFromDesc(desc);
745 Type returnType = returnTypeFromDesc(desc);
848 String desc = constPool.getFieldrefType(index);
849 Type type = zeroExtend(typeFromDesc(desc));
932 private Type[] paramTypesFromDesc(String desc) throws BadBytecode {
935 classes = Descriptor.getParameterTypes(desc, classPool);
941 throw new BadBytecode("Could not obtain parameters for descriptor [pos = " + lastPos + "]: " + desc);
950 private Type returnTypeFromDesc(String desc) throws BadBytecode {
953 clazz = Descriptor.getReturnType(desc, classPool);
959 throw new BadBytecode("Could not obtain return type for descriptor [pos = " + lastPos + "]: " + desc);
1013 private Type typeFromDesc(String desc) throws BadBytecode {
1016 clazz = Descriptor.toCtClass(desc, classPool);
1022 throw new BadBytecode("Could not obtain type for descriptor [pos = " + lastPos + "]: " + desc);