< prev index next >

src/java.base/share/classes/sun/reflect/generics/scope/ClassScope.java

Print this page

        

*** 71,81 **** // enclosing scope. return DummyScope.make(); } /** ! * Factory method. Takes a <tt>Class</tt> object and creates a * scope for it. * @param c - a Class whose scope we want to obtain * @return The type-variable scope for the class c */ public static ClassScope make(Class<?> c) { return new ClassScope(c);} --- 71,81 ---- // enclosing scope. return DummyScope.make(); } /** ! * Factory method. Takes a {@code Class} object and creates a * scope for it. * @param c - a Class whose scope we want to obtain * @return The type-variable scope for the class c */ public static ClassScope make(Class<?> c) { return new ClassScope(c);}
< prev index next >