public class TaintingQualifiedTypeFactory extends QualifierParameterTypeFactory<Tainting>
Constructor and Description |
---|
TaintingQualifiedTypeFactory(QualifierContext<QualParams<Tainting>> context) |
Modifier and Type | Method and Description |
---|---|
protected TaintingAnnotationConverter |
createAnnotationConverter()
Constructs an
AnnotationConverter for the current type system. |
protected QualifierHierarchy<Tainting> |
createGroundQualifierHierarchy()
Create a
QualifierHierarchy for ground qualifiers (represented
by instances of Q ). |
protected QualifierParameterTreeAnnotator<Tainting> |
createTreeAnnotator()
Constructs the
TreeAnnotator to be used by this type factory. |
TypeVariableSubstitutor<QualParams<Tainting>> |
createTypeVariableSubstitutor() |
createQualifierHierarchy, createTypeAnnotator, getAnnotationConverter, getGroundQualifierHierarchy, methodFromUse, postAsMemberOf, postDirectSuperTypes
computeQualifiedTypeParameterBounds, constructorFromUse, createFlowAnalysis, createQualifiedTypes, createTypeHierarchy, getContext, getDeclAnnotations, getDecoratedElement, getPath, getQualifiedType, getQualifiedType, getQualifiedTypeFromTypeTree, getQualifiedTypeParameterBounds, getQualifiedTypes, getQualifierHierarchy, getReceiverType, getTypeHierarchy, methodFromUse
public TaintingQualifiedTypeFactory(QualifierContext<QualParams<Tainting>> context)
protected QualifierHierarchy<Tainting> createGroundQualifierHierarchy()
QualifierParameterTypeFactory
QualifierHierarchy
for ground qualifiers (represented
by instances of Q
).createGroundQualifierHierarchy
in class QualifierParameterTypeFactory<Tainting>
protected TaintingAnnotationConverter createAnnotationConverter()
DefaultQualifiedTypeFactory
AnnotationConverter
for the current type system.
Every checker must override this method to return an appropriate AnnotationConverter
subclass for that checker.createAnnotationConverter
in class QualifierParameterTypeFactory<Tainting>
protected QualifierParameterTreeAnnotator<Tainting> createTreeAnnotator()
DefaultQualifiedTypeFactory
TreeAnnotator
to be used by this type factory.
Checkers that need custom TreeAnnotator
behavior should
override this method to return an instance of their custom TreeAnnotator
subclass.createTreeAnnotator
in class QualifierParameterTypeFactory<Tainting>
public TypeVariableSubstitutor<QualParams<Tainting>> createTypeVariableSubstitutor()
createTypeVariableSubstitutor
in interface QualifiedTypeFactory<QualParams<Tainting>>
createTypeVariableSubstitutor
in class DefaultQualifiedTypeFactory<QualParams<Tainting>>