src/share/classes/javax/lang/model/util/Types.java

Print this page

        

*** 50,59 **** --- 50,60 ---- * Returns the element corresponding to a type. * The type may be a {@code DeclaredType} or {@code TypeVariable}. * Returns {@code null} if the type is not one with a * corresponding element. * + * @param t the type to map to an element * @return the element corresponding to the given type */ Element asElement(TypeMirror t); /**