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