<run class="CallTest">
<stdout>
<line text="public abstract boolean Authorization.mayPerform(java.lang.String,java.lang.String)"/>
- <line text="public abstract interface boolean AuthorizationAdmin.mayPerform(java.lang.String, java.lang.String)"/>
+ <line text="public abstract boolean AuthorizationAdmin.mayPerform(java.lang.String, java.lang.String)"/>
<line text="mayPerform() executing"/>
<line text="public abstract boolean AuthorizationAdmin.mayPerform2(java.lang.String,java.lang.String)"/>
- <line text="public abstract interface boolean AuthorizationAdmin.mayPerform2(java.lang.String, java.lang.String)"/>
+ <line text="public abstract boolean AuthorizationAdmin.mayPerform2(java.lang.String, java.lang.String)"/>
<line text="mayPerform2() executing"/>
<line text="public abstract boolean Authorization.mayPerform(java.lang.String,java.lang.String)"/>
- <line text="public abstract interface boolean Authorization.mayPerform(java.lang.String, java.lang.String)"/>
+ <line text="public abstract boolean Authorization.mayPerform(java.lang.String, java.lang.String)"/>
<line text="mayPerform() executing"/>
</stdout>
</run>
BcelMethod(BcelObjectType declaringType, Method method) {
super(method.getName().equals("<init>") ? CONSTRUCTOR : (method.getName().equals("<clinit>") ? STATIC_INITIALIZATION
- : METHOD), declaringType.getResolvedTypeX(), declaringType.isInterface() ? method.getModifiers()
- | Modifier.INTERFACE : method.getModifiers(), method.getName(), method.getSignature());
+ : METHOD), declaringType.getResolvedTypeX(), method.getModifiers(), method.getName(), method.getSignature());
this.method = method;
sourceContext = declaringType.getResolvedTypeX().getSourceContext();
bcelObjectType = declaringType;
*/
BcelMethod(BcelObjectType declaringType, Method method, List<AjAttribute> attributes) {
super(method.getName().equals("<init>") ? CONSTRUCTOR : (method.getName().equals("<clinit>") ? STATIC_INITIALIZATION
- : METHOD), declaringType.getResolvedTypeX(), declaringType.isInterface() ? method.getModifiers()
- | Modifier.INTERFACE : method.getModifiers(), method.getName(), method.getSignature());
+ : METHOD), declaringType.getResolvedTypeX(), method.getModifiers(), method.getName(), method.getSignature());
this.method = method;
sourceContext = declaringType.getResolvedTypeX().getSourceContext();
bcelObjectType = declaringType;
});
ResolvedMember remove = iter.lookupMethod(MemberImpl.method(iter, 0, "remove", "()V"));
assertNotNull("iterator doesn't have remove", remove);
- modifiersTest(remove, Modifier.PUBLIC | Modifier.INTERFACE); // no longer abstract in Java8 (default instead)
+ modifiersTest(remove, Modifier.PUBLIC); // no longer abstract in Java8 (default instead)
exceptionsTest(remove, UnresolvedType.NONE);
ResolvedMember clone = iter.lookupMethod(MemberImpl.method(UnresolvedType.OBJECT, 0, "clone", "()Ljava/lang/Object;"));