Uses of Interface
org.sonar.plugins.java.api.semantic.Type
-
Packages that use Type Package Description org.sonar.java.matcher org.sonar.java.model org.sonar.java.resolve org.sonar.java.se org.sonar.java.se.constraint org.sonar.java.se.symbolicvalues org.sonar.java.se.xproc org.sonar.plugins.java.api.semantic Provides interfaces to represent Java source code as syntax tree.org.sonar.plugins.java.api.tree Provides interfaces to represent Java source code as syntax tree. -
-
Uses of Type in org.sonar.java.matcher
Method parameters in org.sonar.java.matcher with type arguments of type Type Modifier and Type Method Description MethodMatchers.ParametersBuilderMethodMatchersBuilder. addParametersMatcher(Predicate<List<Type>> parametersPredicate)MethodMatchers.NameBuilderMethodMatchersBuilder. ofType(Predicate<Type> typePredicate) -
Uses of Type in org.sonar.java.model
Methods in org.sonar.java.model that return Type Modifier and Type Method Description static TypeJUtils. declaringType(Type type)TypeJSema. getClassType(String fullyQualifiedName)TypeSema. getClassType(String fullyQualifiedName)static TypeJUtils. primitiveType(Type type)static TypeJUtils. primitiveWrapperType(Type type)TypeAbstractTypedTree. symbolType()TypeJLabelSymbol. type()Methods in org.sonar.java.model that return types with arguments of type Type Modifier and Type Method Description static Set<Type>JUtils. directSuperTypes(Type type)static Set<Type>JUtils. superTypes(Symbol.TypeSymbol typeSymbol)Methods in org.sonar.java.model with parameters of type Type Modifier and Type Method Description static TypeJUtils. declaringType(Type type)static Set<Type>JUtils. directSuperTypes(Type type)static booleanJUtils. isIntersectionType(Type type)static booleanJUtils. isNullType(Type type)static booleanJUtils. isPrimitiveWrapper(Type type)static booleanJUtils. isRawType(Type type)static booleanJUtils. isTypeVar(Type type)static TypeJUtils. primitiveType(Type type)static TypeJUtils. primitiveWrapperType(Type type) -
Uses of Type in org.sonar.java.resolve
Fields in org.sonar.java.resolve declared as Type Modifier and Type Field Description static TypeSymbols. unknownType -
Uses of Type in org.sonar.java.se
Methods in org.sonar.java.se with parameters of type Type Modifier and Type Method Description static booleanExceptionUtils. isUncheckedException(Type exceptionType) -
Uses of Type in org.sonar.java.se.constraint
Methods in org.sonar.java.se.constraint that return Type Modifier and Type Method Description TypeTypedConstraint. getType(Sema semanticModel)Methods in org.sonar.java.se.constraint with parameters of type Type Modifier and Type Method Description SymbolicValue.ExceptionalSymbolicValueConstraintManager. createExceptionalSymbolicValue(Type exceptionType) -
Uses of Type in org.sonar.java.se.symbolicvalues
Methods in org.sonar.java.se.symbolicvalues that return Type Modifier and Type Method Description TypeSymbolicValue.ExceptionalSymbolicValue. exceptionType()Constructors in org.sonar.java.se.symbolicvalues with parameters of type Type Constructor Description ExceptionalSymbolicValue(Type exceptionType) -
Uses of Type in org.sonar.java.se.xproc
Methods in org.sonar.java.se.xproc that return Type Modifier and Type Method Description TypeExceptionalCheckBasedYield. exceptionType(Sema semanticModel)TypeExceptionalYield. exceptionType(Sema semanticModel) -
Uses of Type in org.sonar.plugins.java.api.semantic
Subinterfaces of Type in org.sonar.plugins.java.api.semantic Modifier and Type Interface Description static interfaceType.ArrayTypeType for arrays.Methods in org.sonar.plugins.java.api.semantic that return Type Modifier and Type Method Description TypeType.ArrayType. elementType()Type of elements in this array.TypeType. erasure()Erasure of this type.TypeSymbol.TypeSymbol. superClass()Returns the superclass of this type symbol.TypeSymbol. type()Type of symbol.Methods in org.sonar.plugins.java.api.semantic that return types with arguments of type Type Modifier and Type Method Description List<Type>Symbol.TypeSymbol. interfaces()Interfaces implemented by this type.List<Type>Symbol.MethodSymbol. parameterTypes()Type of parameters declared by this method.List<Type>Symbol.MethodSymbol. thrownTypes()List of the exceptions that can be thrown by the method.List<Type>Type. typeArguments()The arguments of a parameterized type, as a parameterization of a generic type.Methods in org.sonar.plugins.java.api.semantic with parameters of type Type Modifier and Type Method Description booleanType. isSubtypeOf(Type superType)Check whether a type is a subtype of another.Method parameters in org.sonar.plugins.java.api.semantic with type arguments of type Type Modifier and Type Method Description MethodMatchers.ParametersBuilderMethodMatchers.ParametersBuilder. addParametersMatcher(Predicate<List<Type>> parametersType)Match a method signature respecting the predicate.MethodMatchers.NameBuilderMethodMatchers.TypeBuilder. ofType(Predicate<Type> typePredicate)Match a type matching a predicate. -
Uses of Type in org.sonar.plugins.java.api.tree
Methods in org.sonar.plugins.java.api.tree that return Type Modifier and Type Method Description TypeExpressionTree. symbolType()TypeTypeTree. symbolType()
-