equal
deleted
inserted
replaced
54 // class in which it was declared. |
54 // class in which it was declared. |
55 return ClassScope.make(getEnclosingClass()); |
55 return ClassScope.make(getEnclosingClass()); |
56 } |
56 } |
57 |
57 |
58 /** |
58 /** |
59 * Factory method. Takes a <tt>Constructor</tt> object and creates a |
59 * Factory method. Takes a {@code Constructor} object and creates a |
60 * scope for it. |
60 * scope for it. |
61 * @param m - A Constructor whose scope we want to obtain |
61 * @param c - A Constructor whose scope we want to obtain |
62 * @return The type-variable scope for the constructor m |
62 * @return The type-variable scope for the constructor m |
63 */ |
63 */ |
64 public static ConstructorScope make(Constructor<?> c) { |
64 public static ConstructorScope make(Constructor<?> c) { |
65 return new ConstructorScope(c); |
65 return new ConstructorScope(c); |
66 } |
66 } |