Package org.cojen.classfile.attribute

Examples of org.cojen.classfile.attribute.SourceFileAttr


     * Set the source file of this class file by adding a source file
     * attribute. The source doesn't actually have to be a file,
     * but the virtual machine spec names the attribute "SourceFile_attribute".
     */
    public void setSourceFile(String fileName) {
        addAttribute(new SourceFileAttr(mCp, fileName));
    }
View Full Code Here


                        return new RuntimeInvisibleParameterAnnotationsAttr(cp, name, length, din);
                    }
                    break;
                case 'S':
                    if (name.equals(SOURCE_FILE)) {
                        return new SourceFileAttr(cp, name, length, din);
                    } else if (name.equals(SYNTHETIC)) {
                        return new SyntheticAttr(cp, name, length, din);
                    } else if (name.equals(SIGNATURE)) {
                        return new SignatureAttr(cp, name, length, din);
                    } else if (name.equals(STACK_MAP_TABLE)) {
View Full Code Here

                        return new RuntimeInvisibleParameterAnnotationsAttr(cp, name, length, din);
                    }
                    break;
                case 'S':
                    if (name.equals(SOURCE_FILE)) {
                        return new SourceFileAttr(cp, name, length, din);
                    } else if (name.equals(SYNTHETIC)) {
                        return new SyntheticAttr(cp, name, length, din);
                    } else if (name.equals(SIGNATURE)) {
                        return new SignatureAttr(cp, name, length, din);
                    } else if (name.equals(STACK_MAP_TABLE)) {
View Full Code Here

     * Set the source file of this class file by adding a source file
     * attribute. The source doesn't actually have to be a file,
     * but the virtual machine spec names the attribute "SourceFile_attribute".
     */
    public void setSourceFile(String fileName) {
        addAttribute(new SourceFileAttr(mCp, fileName));
    }
View Full Code Here

TOP

Related Classes of org.cojen.classfile.attribute.SourceFileAttr

Copyright © 2018 www.massapicom. 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.