org.stjs.generator.utils
Class JavaNodes
java.lang.Object
org.stjs.generator.utils.JavaNodes
public final class JavaNodes
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isConstructor
public static boolean isConstructor(com.sun.source.tree.Tree tree)
sameRawType
public static boolean sameRawType(TypeMirror type1,
Class<?> clazz)
isStatic
public static boolean isStatic(com.sun.source.tree.MethodTree method)
isFinal
public static boolean isFinal(com.sun.source.tree.VariableTree tree)
isStatic
public static boolean isStatic(Element element)
isSuper
public static boolean isSuper(com.sun.source.tree.ExpressionTree expression)
getNamespace
public static String getNamespace(Element type)
isInnerType
public static boolean isInnerType(Element type)
getEnclosingType
public static DeclaredType getEnclosingType(TypeMirror type)
isNative
public static boolean isNative(Element element)
isJavaScriptPrimitive
public static boolean isJavaScriptPrimitive(TypeMirror type)
elementFromDeclaration
public static Element elementFromDeclaration(com.sun.source.tree.Tree tree)
Copyright © 2014. All Rights Reserved.