Examples of CPFieldRef


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

//            return null /* new CPSignature(bands.getCpSignature()[index]) */;
        } else if (cp == CP_DESCR) {
          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 {
View Full Code Here

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

//            return null /* new CPSignature(bands.getCpSignature()[index]) */;
        } else if (cp == CP_DESCR) {
          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 {
View Full Code Here

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

        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 CPFieldRef(reference[index], descriptors[index]);
        }
        return result;
    }
View Full Code Here

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

        public CPDouble cpDoubleValue(int index) {
            return new CPDouble(new Double(2.5D), index);
        }

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

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

        public CPDouble cpDoubleValue(int index) {
            return new CPDouble(new Double(2.5D), index);
        }

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

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

        public CPDouble cpDoubleValue(int index) {
            return new CPDouble(new Double(2.5D), index);
        }

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

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

                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }

    public CPFieldRef cpFieldValue(int index) {
        return new CPFieldRef(cpClassValue(cpFieldClassInts[index]),
                cpNameAndTypeValue(cpFieldDescriptorInts[index]), index
                        + fieldOffset);
    }
View Full Code Here

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

                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }

    public CPFieldRef cpFieldValue(int index) {
        return new CPFieldRef(cpClassValue(cpFieldClassInts[index]),
                cpNameAndTypeValue(cpFieldDescriptorInts[index]), index
                        + fieldOffset);
    }
View Full Code Here

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

                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }

    public CPFieldRef cpFieldValue(int index) {
        return new CPFieldRef(cpClassValue(cpFieldClassInts[index]),
                cpNameAndTypeValue(cpFieldDescriptorInts[index]), index
                        + fieldOffset);
    }
View Full Code Here

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

                cpNameAndTypeValue(cpMethodDescriptorInts[index]), index
                        + methodOffset);
    }

    public CPFieldRef cpFieldValue(int index) {
        return new CPFieldRef(cpClassValue(cpFieldClassInts[index]),
                cpNameAndTypeValue(cpFieldDescriptorInts[index]), index
                        + fieldOffset);
    }
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.