Package org.cojen.classfile.attribute

Examples of org.cojen.classfile.attribute.DeprecatedAttr


    /**
     * Mark this class as being deprecated by adding a special attribute.
     */
    public void markDeprecated() {
        addAttribute(new DeprecatedAttr(mCp));
    }
View Full Code Here


    /**
     * Mark this field as being deprecated by adding a special attribute.
     */
    public void markDeprecated() {
        addAttribute(new DeprecatedAttr(mCp));
    }
View Full Code Here

    /**
     * Mark this method as being deprecated by adding a special attribute.
     */
    public void markDeprecated() {
        addAttribute(new DeprecatedAttr(mCp));
    }
View Full Code Here

                        return new ConstantValueAttr(cp, name, length, din);
                    }
                    break;
                case 'D':
                    if (name.equals(DEPRECATED)) {
                        return new DeprecatedAttr(cp, name, length, din);
                    }
                    break;
                case 'E':
                    if (name.equals(EXCEPTIONS)) {
                        return new ExceptionsAttr(cp, name, length, din);
View Full Code Here

    /**
     * Mark this field as being deprecated by adding a special attribute.
     */
    public void markDeprecated() {
        addAttribute(new DeprecatedAttr(mCp));
    }
View Full Code Here

                        return new ConstantValueAttr(cp, name, length, din);
                    }
                    break;
                case 'D':
                    if (name.equals(DEPRECATED)) {
                        return new DeprecatedAttr(cp, name, length, din);
                    }
                    break;
                case 'E':
                    if (name.equals(EXCEPTIONS)) {
                        return new ExceptionsAttr(cp, name, length, din);
View Full Code Here

    /**
     * Mark this class as being deprecated by adding a special attribute.
     */
    public void markDeprecated() {
        addAttribute(new DeprecatedAttr(mCp));
    }
View Full Code Here

    /**
     * Mark this method as being deprecated by adding a special attribute.
     */
    public void markDeprecated() {
        addAttribute(new DeprecatedAttr(mCp));
    }
View Full Code Here

TOP

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

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.