repository.grepcode.com$java$root@jdk$openjdk@6-b14@sun$reflect$generics$scope$ClassScope.java
oh
o
[{"sl":40,"sc":-1,"el":81,"ec":-1,"m":"Class sun.reflect.generics.scope.ClassScope implements same interface as superclass","p":3,"t":"RI_REDUNDANT_INTERFACES","a":"RI","c":"STYLE"}]
package sun.reflect.generics.scope;
This class represents the scope containing the type variables of
a class.
Overrides the abstract method in the superclass.
- Returns:
- the enclosing scope
return MethodScope.make(m);
return ConstructorScope.make(cnstr);
return ClassScope.make(c);
return DummyScope.make();
Factory method. Takes a
Class object and creates a
scope for it.
- Parameters:
c - a Class whose scope we want to obtain- Returns:
- The type-variable scope for the class c