public final class JavaNodes extends Object
| Modifier and Type | Method and Description |
|---|---|
static Element |
elementFromDeclaration(com.sun.source.tree.Tree tree) |
static DeclaredType |
getEnclosingType(TypeMirror type) |
static boolean |
isConstructor(com.sun.source.tree.Tree tree) |
static boolean |
isFinal(com.sun.source.tree.VariableTree tree) |
static boolean |
isInnerType(Element type) |
static boolean |
isJavaScriptPrimitive(TypeMirror type) |
static boolean |
isNative(Element element) |
static boolean |
isStatic(Element element) |
static boolean |
isStatic(com.sun.source.tree.MethodTree method) |
static boolean |
isSuper(com.sun.source.tree.ExpressionTree expression) |
static boolean |
sameRawType(TypeMirror type1,
Class<?> clazz) |
public static boolean isConstructor(com.sun.source.tree.Tree tree)
public static boolean sameRawType(TypeMirror type1, Class<?> clazz)
public static boolean isStatic(com.sun.source.tree.MethodTree method)
public static boolean isFinal(com.sun.source.tree.VariableTree tree)
public static boolean isStatic(Element element)
public static boolean isSuper(com.sun.source.tree.ExpressionTree expression)
public static boolean isInnerType(Element type)
public static DeclaredType getEnclosingType(TypeMirror type)
public static boolean isNative(Element element)
public static boolean isJavaScriptPrimitive(TypeMirror type)
public static Element elementFromDeclaration(com.sun.source.tree.Tree tree)
Copyright © 2015. All Rights Reserved.