Package org.sonar.java.model
Class JUtils
java.lang.Object
org.sonar.java.model.JUtils
-
Method Summary
Modifier and TypeMethodDescriptionconstantValue(Symbol.VariableSymbol symbol)static TypedeclaringType(Type type)static ObjectdefaultValue(Symbol.MethodSymbol method)directSuperTypes(Type type)static SymbolenclosingClass(Tree t)static SymbolgetPackage(Symbol symbol)static SymbolimportTreeSymbol(ImportTree tree)static booleanisAnnotation(Symbol.TypeSymbol typeSymbol)static booleanisDefaultMethod(Symbol.MethodSymbol method)static booleanisEffectivelyFinal(Symbol.VariableSymbol variableSymbol)static booleanisIntersectionType(Type type)static booleanisLocalVariable(Symbol symbol)static booleanisNativeMethod(Symbol.MethodSymbol method)static booleanisNullType(Type type)static booleanisOverridable(Symbol.MethodSymbol method)static booleanisParameter(Symbol symbol)static booleanisParametrizedMethod(Symbol.MethodSymbol method)static booleanisPrimitiveWrapper(Type type)static booleanstatic booleanisSynchronizedMethod(Symbol.MethodSymbol method)static booleanstatic booleanisVarArgsMethod(Symbol.MethodSymbol method)static Symbol.TypeSymboloutermostClass(Symbol.TypeSymbol typeSymbol)static SymbolMetadataparameterAnnotations(Symbol.MethodSymbol method, int param)static TypeprimitiveType(Type type)static TypeprimitiveWrapperType(Type type)superTypes(Symbol.TypeSymbol typeSymbol)static Symbol
-
Method Details
-
isPrimitiveWrapper
-
primitiveWrapperType
-
primitiveType
-
isNullType
-
isIntersectionType
-
isTypeVar
-
isAnnotation
-
isEffectivelyFinal
-
isLocalVariable
-
isParameter
-
constantValue
-
superTypes
-
outermostClass
-
getPackage
-
isVarArgsMethod
-
isSynchronizedMethod
-
isNativeMethod
-
isDefaultMethod
-
defaultValue
-
isOverridable
-
isParametrizedMethod
-
isRawType
-
declaringType
-
directSuperTypes
-
enclosingClass
-
importTreeSymbol
-
typeParameterTreeSymbol
-
parameterAnnotations
-