jdk/src/java.base/share/classes/sun/reflect/generics/scope/ConstructorScope.java
changeset 31061 fead7d86d75f
parent 25859 3317bb8137f4
equal deleted inserted replaced
31060:be4eb6360ee0 31061:fead7d86d75f
    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     }