private static List < Type > getBounds ( TypeVar v , DocEnv env ) { final Type upperBound = v . getUpperBound ( ) ; Name boundname = upperBound . tsym . getQualifiedName ( ) ; if ( boundname == boundname . table . names . java_lang_Object && ! upperBound . isAnnotated ( ) ) { return List . nil ( ) ; } else { return env . types . getBounds ( v ) ; } }
Get the bounds of a type variable as listed in the extends clause .