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 Symbolstatic SymbolgetPackage(Symbol symbol) static booleanhasUnknownTypeInHierarchy(Symbol.TypeSymbol typeSymbol) static booleanstatic 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 booleanstatic booleanisPrimitiveWrapper(Type type) static booleanstatic booleanstatic 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 Symbolstatic TypewrapTypeIfPrimitive(Type type)
-
Method Details
-
isPrimitiveWrapper
-
wrapTypeIfPrimitive
-
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
-
hasUnknownTypePreventingOverrideResolution
-
hasUnknownTypeInHierarchy
-