Class PropertyVerifier

  • All Implemented Interfaces:
    Serializable, Parser

    public class PropertyVerifier
    extends AbstractOptimizer
    This verifier is used by the compiler to enforce rules such as type strictness. It is, as side-effect, also responsible for extracting type information.
    Author:
    Mike Brock, Dhanji Prasanna
    See Also:
    Serialized Form
    • Constructor Detail

      • PropertyVerifier

        public PropertyVerifier​(char[] property,
                                ParserContext parserContext)
      • PropertyVerifier

        public PropertyVerifier​(char[] property,
                                int start,
                                int offset,
                                ParserContext parserContext)
    • Method Detail

      • setInputs

        public void setInputs​(List<String> inputs)
      • analyze

        public Class analyze()
        Analyze the statement and return the known egress type.
        Returns:
        known engress type
      • isResolvedExternally

        public boolean isResolvedExternally()
      • isClassLiteral

        public boolean isClassLiteral()
      • isDeepProperty

        public boolean isDeepProperty()
      • isInput

        public boolean isInput()
      • isMethodCall

        public boolean isMethodCall()
      • isFqcn

        public boolean isFqcn()
      • getCtx

        public Class getCtx()
      • setCtx

        public void setCtx​(Class ctx)