Uses of Interface
org.sonar.plugins.java.api.semantic.Type
Packages that use Type
Package
Description
Provides interfaces to represent Java source code as syntax 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 TypeModifier and TypeMethodDescriptionMethodMatchersBuilder.addParametersMatcher(Predicate<List<Type>> parametersPredicate) -
Uses of Type in org.sonar.java.model
Classes in org.sonar.java.model that implement TypeMethods in org.sonar.java.model that return TypeModifier and TypeMethodDescriptionSymbols.UnknownType.declaringType()Symbols.UnknownType.erasure()JSema.getClassType(String fullyQualifiedName) Type[]Symbols.UnknownType.getIntersectionTypes()Symbols.UnknownType.primitiveType()Symbols.UnknownType.primitiveWrapperType()Symbols.UnkownTypeSymbol.superClass()AbstractTypedTree.symbolType()JLabelSymbol.type()final TypeSymbols.UnknownSymbol.type()static TypeJUtils.wrapTypeIfPrimitive(Type type) Methods in org.sonar.java.model that return types with arguments of type TypeModifier and TypeMethodDescriptionJUtils.directSuperTypes(Type type) Symbols.UnkownTypeSymbol.interfaces()Symbols.UnknownMethodSymbol.parameterTypes()Symbols.UnkownTypeSymbol.superTypes()Symbols.UnknownMethodSymbol.thrownTypes()Symbols.UnknownType.typeArguments()Methods in org.sonar.java.model with parameters of type TypeModifier and TypeMethodDescriptionJUtils.directSuperTypes(Type type) static booleanJUtils.isIntersectionType(Type type) booleanSymbols.UnknownType.isSubtypeOf(Type superType) static booleanTypeUtils.isValueBasedType(Type type) static TypeJUtils.wrapTypeIfPrimitive(Type type) Method parameters in org.sonar.java.model with type arguments of type TypeModifier and TypeMethodDescriptionstatic voidJUtils.collectSuperTypes(Set<Type> result, JSema sema, org.eclipse.jdt.core.dom.ITypeBinding typeBinding) -
Uses of Type in org.sonar.java.model.pattern
Methods in org.sonar.java.model.pattern that return TypeModifier and TypeMethodDescriptionAbstractPatternTree.symbolType()NullPatternTreeImpl.symbolType()RecordPatternTreeImpl.symbolType() -
Uses of Type in org.sonar.plugins.java.api.semantic
Subinterfaces of Type in org.sonar.plugins.java.api.semanticFields in org.sonar.plugins.java.api.semantic declared as TypeModifier and TypeFieldDescriptionstatic final TypeType.UNKNOWNInstance ofTyperepresenting an unknown typeMethods in org.sonar.plugins.java.api.semantic that return TypeModifier and TypeMethodDescriptionType.declaringType()Returns the declaring type of this typeType.ArrayType.elementType()Type of elements in this array.Type.erasure()Erasure of this type.Sema.getClassType(String fullyQualifiedName) Type[]Type.getIntersectionTypes()This method returns more than one type whenType.isIntersectionType()is true.Type.primitiveType()Returns the type of the primitiveType.primitiveWrapperType()Returns the type of the primitive wrapperSymbol.TypeSymbol.superClass()Returns the superclass of this type symbol.Symbol.type()Type of symbol.Methods in org.sonar.plugins.java.api.semantic that return types with arguments of type TypeModifier and TypeMethodDescriptionSymbol.TypeSymbol.interfaces()Interfaces implemented by this type.Symbol.MethodSymbol.parameterTypes()Type of parameters declared by this method.Symbol.TypeSymbol.superTypes()Symbol.MethodSymbol.thrownTypes()List of the exceptions that can be thrown by the method.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 TypeModifier and TypeMethodDescriptionbooleanType.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 TypeModifier and TypeMethodDescriptionMethodMatchers.ParametersBuilder.addParametersMatcher(Predicate<List<Type>> parametersType) Match a method signature respecting the predicate.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