jdk/src/share/classes/com/sun/tools/jdi/MethodImpl.java
changeset 24125 b85eeaae56c7
parent 14342 8435a30053c1
child 24127 5d05d4c0de7f
equal deleted inserted replaced
24124:5f5f7f7a4328 24125:b85eeaae56c7
   183         return rc;
   183         return rc;
   184     }
   184     }
   185 
   185 
   186     public boolean isAbstract() {
   186     public boolean isAbstract() {
   187         return isModifierSet(VMModifiers.ABSTRACT);
   187         return isModifierSet(VMModifiers.ABSTRACT);
       
   188     }
       
   189 
       
   190     public boolean isDefault() {
       
   191         return !isModifierSet(VMModifiers.ABSTRACT) &&
       
   192                !isModifierSet(VMModifiers.STATIC) &&
       
   193                !isModifierSet(VMModifiers.PRIVATE) &&
       
   194                declaringType() instanceof InterfaceType;
   188     }
   195     }
   189 
   196 
   190     public boolean isSynchronized() {
   197     public boolean isSynchronized() {
   191         return isModifierSet(VMModifiers.SYNCHRONIZED);
   198         return isModifierSet(VMModifiers.SYNCHRONIZED);
   192     }
   199     }