Examples of CPMethodRef


Examples of org.apache.harmony.pack200.bytecode.CPMethodRef

          throw new Error("I don't know what to do with descriptors yet");
//            return null /* new CPDescriptor(bands.getCpDescriptor()[index]) */;
        } else if (cp == CP_FIELD) {
            return new CPFieldRef(bands.getCpFieldClass()[index], bands.getCpFieldDescriptor()[index]);
        } else if (cp == CP_METHOD) {
            return new CPMethodRef(bands.getCpMethodClass()[index], bands.getCpMethodDescriptor()[index]);
        } else if (cp == CP_IMETHOD) {
            return new CPInterfaceMethodRef(bands.getCpIMethodClass()[index], bands.getCpIMethodDescriptor()[index]);
        } else {
            // etc
            throw new Error("Get value incomplete");
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPMethodRef

          throw new Error("I don't know what to do with descriptors yet");
//            return null /* new CPDescriptor(bands.getCpDescriptor()[index]) */;
        } else if (cp == CP_FIELD) {
            return new CPFieldRef(bands.getCpFieldClass()[index], bands.getCpFieldDescriptor()[index]);
        } else if (cp == CP_METHOD) {
            return new CPMethodRef(bands.getCpMethodClass()[index], bands.getCpMethodDescriptor()[index]);
        } else if (cp == CP_IMETHOD) {
            return new CPInterfaceMethodRef(bands.getCpIMethodClass()[index], bands.getCpIMethodDescriptor()[index]);
        } else {
            // etc
            throw new Error("Get value incomplete");
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPMethodRef

        for (int i1 = 0; i1 < count; i1++) {
            int index = indices[i1];
            if (index < 0 || index >= reference.length)
                throw new Pack200Exception(
                        "Something has gone wrong during parsing references, index = " + index + ", array size = " + reference.length);
            result[i1] = new CPMethodRef(reference[index], descriptors[index]);
        }
        return result;
    }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

        public CPFieldRef cpFieldValue(int index) {
            return new CPFieldRef(cpClass, descriptor, index);
        }

        public CPMethodRef cpMethodValue(int index) {
            return new CPMethodRef(cpClass, descriptor, index);
        }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

        public CPFieldRef cpFieldValue(int index) {
            return new CPFieldRef(cpClass, descriptor, index);
        }

        public CPMethodRef cpMethodValue(int index) {
            return new CPMethodRef(cpClass, descriptor, index);
        }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

        public CPFieldRef cpFieldValue(int index) {
            return new CPFieldRef(cpClass, descriptor, index);
        }

        public CPMethodRef cpMethodValue(int index) {
            return new CPMethodRef(cpClass, descriptor, index);
        }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

                cpNameAndTypeValue(cpIMethodDescriptorInts[index]), index
                        + imethodOffset);
    }

    public CPMethodRef cpMethodValue(int index) {
        return new CPMethodRef(cpClassValue(cpMethodClassInts[index]),
                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

                cpNameAndTypeValue(cpIMethodDescriptorInts[index]), index
                        + imethodOffset);
    }

    public CPMethodRef cpMethodValue(int index) {
        return new CPMethodRef(cpClassValue(cpMethodClassInts[index]),
                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

                cpNameAndTypeValue(cpIMethodDescriptorInts[index]), index
                        + imethodOffset);
    }

    public CPMethodRef cpMethodValue(int index) {
        return new CPMethodRef(cpClassValue(cpMethodClassInts[index]),
                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPMethodRef

                cpNameAndTypeValue(cpIMethodDescriptorInts[index]), index
                        + imethodOffset);
    }

    public CPMethodRef cpMethodValue(int index) {
        return new CPMethodRef(cpClassValue(cpMethodClassInts[index]),
                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }
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.