Skip to content

Commit 4dc340a

Browse files
committed
Added isInterface property to Class
1 parent f9e5201 commit 4dc340a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/javaxt/utils/src/Class.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public class Class implements Member, Comparable {
99
private Class parent;
1010
private ArrayList<Member> members;
1111
private boolean isPublic = true;
12+
private boolean isInterface = false;
1213
private String namespace;
1314
private ArrayList<String> extensions;
1415
private ArrayList<String> interfaces;
@@ -41,6 +42,14 @@ public void setPublic(boolean isPublic){
4142
this.isPublic = isPublic;
4243
}
4344

45+
public boolean isInterface(){
46+
return isInterface;
47+
}
48+
49+
public void setInterface(boolean isInterface){
50+
this.isInterface = isInterface;
51+
}
52+
4453
public void setNamespace(String namespace){
4554
this.namespace = namespace;
4655
}

0 commit comments

Comments
 (0)