Java Code Examples for com.android.dx.rop.code.AccessFlags#ACC_SYNCHRONIZED

The following examples show how to use com.android.dx.rop.code.AccessFlags#ACC_SYNCHRONIZED . 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: AccessInfo.java    From Box with Apache License 2.0 4 votes vote down vote up
public boolean isSynchronized() {
	return (accFlags & (AccessFlags.ACC_SYNCHRONIZED | AccessFlags.ACC_DECLARED_SYNCHRONIZED)) != 0;
}
 
Example 2
Source File: AccessInfo.java    From Box with Apache License 2.0 4 votes vote down vote up
public boolean isSynchronized() {
	return (accFlags & (AccessFlags.ACC_SYNCHRONIZED | AccessFlags.ACC_DECLARED_SYNCHRONIZED)) != 0;
}
 
Example 3
Source File: Ropper.java    From Box with Apache License 2.0 2 votes vote down vote up
/**
 * Gets whether the method being translated is synchronized.
 *
 * @return whether the method being translated is synchronized
 */
private boolean isSynchronized() {
    int accessFlags = method.getAccessFlags();
    return (accessFlags & AccessFlags.ACC_SYNCHRONIZED) != 0;
}
 
Example 4
Source File: Ropper.java    From Box with Apache License 2.0 2 votes vote down vote up
/**
 * Gets whether the method being translated is synchronized.
 *
 * @return whether the method being translated is synchronized
 */
private boolean isSynchronized() {
    int accessFlags = method.getAccessFlags();
    return (accessFlags & AccessFlags.ACC_SYNCHRONIZED) != 0;
}
 
Example 5
Source File: Ropper.java    From J2ME-Loader with Apache License 2.0 2 votes vote down vote up
/**
 * Gets whether the method being translated is synchronized.
 *
 * @return whether the method being translated is synchronized
 */
private boolean isSynchronized() {
    int accessFlags = method.getAccessFlags();
    return (accessFlags & AccessFlags.ACC_SYNCHRONIZED) != 0;
}
 
Example 6
Source File: Ropper.java    From buck with Apache License 2.0 2 votes vote down vote up
/**
 * Gets whether the method being translated is synchronized.
 *
 * @return whether the method being translated is synchronized
 */
private boolean isSynchronized() {
    int accessFlags = method.getAccessFlags();
    return (accessFlags & AccessFlags.ACC_SYNCHRONIZED) != 0;
}