We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96a059d commit fd2b3e8Copy full SHA for fd2b3e8
1 file changed
src/test/java/org/apposed/appose/DumpApi.java
@@ -777,7 +777,12 @@ static String formatConstructor(ConstructorDeclaration ctor) {
777
}
778
779
static String formatMethod(MethodDeclaration method) {
780
- StringBuilder sb = new StringBuilder("def ");
+ StringBuilder sb = new StringBuilder();
781
+
782
+ // Add abstract keyword for abstract methods
783
+ if (method.isAbstract()) sb.append("abstract ");
784
785
+ sb.append("def ");
786
787
// Static methods don't have 'self'
788
boolean isStatic = method.isStatic();
0 commit comments