Class StandaloneDiamondChecker

All Implemented Interfaces:
Processor, OptionConfiguration

public class StandaloneDiamondChecker extends BaseTypeChecker
A test checker for the dataflow value of a diamond nested in an enclosing type argument inference, which GenericAnnotatedTypeFactory.getStandaloneTypeForNodeValue(com.sun.source.tree.Tree) may compute without that inference. Its qualifiers are Encrypted and PolyEncrypted, so that a constructor can be qualifier-polymorphic. Its visitor also reports a dataflow value of a diamond whose underlying type is not javac's type of the diamond.
  • Constructor Details

    • StandaloneDiamondChecker

      public StandaloneDiamondChecker()
      Creates a StandaloneDiamondChecker.