public class TypeMapper extends Object
| Constructor and Description |
|---|
TypeMapper() |
| Modifier and Type | Method and Description |
|---|---|
static ArrayType |
asArrayType(TypeMirror element)
Convert the given
TypeMirror to a ArrayType. |
static DeclaredType |
asDeclaredType(TypeMirror element)
Convert the given
TypeMirror to a DeclaredType. |
static ExecutableElement |
asExecutable(Element element)
Convert the given
Element to an ExecutableElement. |
static TypeElement |
asType(Element element)
Convert the given
Element to a TypeElement. |
public static ExecutableElement asExecutable(Element element)
Element to an ExecutableElement.element - public static TypeElement asType(Element element)
Element to a TypeElement.element - public static DeclaredType asDeclaredType(TypeMirror element)
TypeMirror to a DeclaredType.element - public static ArrayType asArrayType(TypeMirror element)
TypeMirror to a ArrayType.element - Copyright © 2017. All rights reserved.