com.android.dx.cf.attrib.AttSynthetic Java Examples

The following examples show how to use com.android.dx.cf.attrib.AttSynthetic. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StdAttributeFactory.java    From Box with Apache License 2.0 5 votes vote down vote up
/**
 * Parses a {@code Synthetic} attribute.
 */
private Attribute synthetic(DirectClassFile cf, int offset, int length,
        ParseObserver observer) {
    if (length != 0) {
        return throwBadLength(0);
    }

    return new AttSynthetic();
}
 
Example #2
Source File: StdAttributeFactory.java    From Box with Apache License 2.0 5 votes vote down vote up
/**
 * Parses a {@code Synthetic} attribute.
 */
private Attribute synthetic(DirectClassFile cf, int offset, int length,
        ParseObserver observer) {
    if (length != 0) {
        return throwBadLength(0);
    }

    return new AttSynthetic();
}
 
Example #3
Source File: StdAttributeFactory.java    From J2ME-Loader with Apache License 2.0 5 votes vote down vote up
/**
 * Parses a {@code Synthetic} attribute.
 */
private Attribute synthetic(DirectClassFile cf, int offset, int length,
        ParseObserver observer) {
    if (length != 0) {
        return throwBadLength(0);
    }

    return new AttSynthetic();
}
 
Example #4
Source File: StdAttributeFactory.java    From buck with Apache License 2.0 5 votes vote down vote up
/**
 * Parses a {@code Synthetic} attribute.
 */
private Attribute synthetic(DirectClassFile cf, int offset, int length,
        ParseObserver observer) {
    if (length != 0) {
        return throwBadLength(0);
    }

    return new AttSynthetic();
}