View Javadoc
1 package jrre.classloader.classfile.access_flags; 2 3 public class ClassAccessFlags extends AccessFlags { 4 5 private boolean isSuper, isInterface; 6 7 public ClassAccessFlags(boolean isPublic, 8 boolean isFinal, 9 boolean isSuper, 10 boolean isInterface, 11 boolean isAbstract){ 12 13 super(isPublic, isFinal, isAbstract); 14 15 this.isSuper = isSuper; 16 this.isInterface = isInterface; 17 } 18 19 public String toString(){ 20 21 StringBuffer toReturn = new StringBuffer(); 22 23 toReturn.append("\nClass Access Flags:"); 24 toReturn.append("\n\tisPublic: "+isPublic); 25 toReturn.append("\n\tisFinal: "+isFinal); 26 toReturn.append("\n\tisSuper: "+isSuper); 27 toReturn.append("\n\tisInterface: "+isInterface); 28 toReturn.append("\n\tisAbstract: "+isAbstract); 29 30 return toReturn.toString(); 31 } 32 } 33

This page was automatically generated by Maven