private void checkMethodModifiers(MethodNode node) { // don't check volatile here as it overlaps with ACC_BRIDGE // additional modifiers not allowed for interfaces if ((this.currentClass.getModifiers() & ACC_INTERFACE) != 0) { checkMethodForModifier(node, isStrict(node.getModifiers()), "strictfp"); checkMethodForModifier(node, isSynchronized(node.getModifiers()), "synchronized"); checkMethodForModifier(node, isNative(node.getModifiers()), "native"); } }
private void checkMethodModifiers(MethodNode node) { // don't check volatile here as it overlaps with ACC_BRIDGE // additional modifiers not allowed for interfaces if ((this.currentClass.getModifiers() & Opcodes.ACC_INTERFACE) != 0) { checkMethodForModifier(node, Modifier.isStrict(node.getModifiers()), "strictfp"); checkMethodForModifier(node, Modifier.isSynchronized(node.getModifiers()), "synchronized"); checkMethodForModifier(node, Modifier.isNative(node.getModifiers()), "native"); } }
private void checkMethodModifiers(MethodNode node) { // don't check volatile here as it overlaps with ACC_BRIDGE // additional modifiers not allowed for interfaces if ((this.currentClass.getModifiers() & Opcodes.ACC_INTERFACE) != 0) { checkMethodForModifier(node, Modifier.isStrict(node.getModifiers()), "strictfp"); checkMethodForModifier(node, Modifier.isSynchronized(node.getModifiers()), "synchronized"); checkMethodForModifier(node, Modifier.isNative(node.getModifiers()), "native"); } }
private void checkMethodModifiers(MethodNode node) { // don't check volatile here as it overlaps with ACC_BRIDGE // additional modifiers not allowed for interfaces if ((this.currentClass.getModifiers() & ACC_INTERFACE) != 0) { checkMethodForModifier(node, isStrict(node.getModifiers()), "strictfp"); checkMethodForModifier(node, isSynchronized(node.getModifiers()), "synchronized"); checkMethodForModifier(node, isNative(node.getModifiers()), "native"); } }
private void checkMethodModifiers(MethodNode node) { // don't check volatile here as it overlaps with ACC_BRIDGE // additional modifiers not allowed for interfaces if ((this.currentClass.getModifiers() & Opcodes.ACC_INTERFACE) != 0) { checkMethodForModifier(node, Modifier.isStrict(node.getModifiers()), "strictfp"); checkMethodForModifier(node, Modifier.isSynchronized(node.getModifiers()), "synchronized"); checkMethodForModifier(node, Modifier.isNative(node.getModifiers()), "native"); } }