< prev index next >
src/java.base/share/classes/sun/reflect/generics/scope/MethodScope.java
Print this page
*** 54,64 ****
// class in which it was declared.
return ClassScope.make(getEnclosingClass());
}
/**
! * Factory method. Takes a <tt>Method</tt> object and creates a
* scope for it.
* @param m - A Method whose scope we want to obtain
* @return The type-variable scope for the method m
*/
public static MethodScope make(Method m) {
--- 54,64 ----
// class in which it was declared.
return ClassScope.make(getEnclosingClass());
}
/**
! * Factory method. Takes a {@code Method} object and creates a
* scope for it.
* @param m - A Method whose scope we want to obtain
* @return The type-variable scope for the method m
*/
public static MethodScope make(Method m) {
< prev index next >