< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java

Print this page

        

*** 972,981 **** --- 972,987 ---- /** All the interfaces of this class, including missing ones. */ public List<Type> all_interfaces_field; + /** The classes, or interfaces, permitted to extend this class, or interface + */ + public List<Type> permitted; + + public boolean isPermittedExplicit = false; + public ClassType(Type outer, List<Type> typarams, TypeSymbol tsym) { this(outer, typarams, tsym, TypeMetadata.EMPTY); } public ClassType(Type outer, List<Type> typarams, TypeSymbol tsym,
*** 984,993 **** --- 990,1000 ---- this.outer_field = outer; this.typarams_field = typarams; this.allparams_field = null; this.supertype_field = null; this.interfaces_field = null; + this.permitted = List.nil(); } public int poolTag() { return ClassFile.CONSTANT_Class; }
< prev index next >