Class Exprent

    • Field Detail

      • inferredLambdaTypes

        protected static java.lang.ThreadLocal<java.util.Map<java.lang.String,​VarType>> inferredLambdaTypes
      • id

        public final int id
      • bytecode

        public java.util.BitSet bytecode
    • Constructor Detail

    • Method Detail

      • getPrecedence

        public int getPrecedence()
      • getExprType

        public VarType getExprType()
      • getInferredExprType

        public VarType getInferredExprType​(VarType upperBound)
      • getExprentUse

        public int getExprentUse()
      • containsExprent

        public boolean containsExprent​(Exprent exprent)
      • getAllExprents

        public final java.util.List<Exprent> getAllExprents​(boolean recursive)
      • getAllExprents

        public final java.util.List<Exprent> getAllExprents​(boolean recursive,
                                                            boolean self)
      • getAllVariables

        public java.util.Set<VarVersionPair> getAllVariables()
      • getAllExprents

        public final java.util.List<Exprent> getAllExprents()
      • getAllExprents

        protected abstract java.util.List<Exprent> getAllExprents​(java.util.List<Exprent> list)
      • copy

        public abstract Exprent copy()
      • toJava

        public abstract TextBuffer toJava​(int indent)
      • replaceExprent

        public void replaceExprent​(Exprent oldExpr,
                                   Exprent newExpr)
      • addBytecodeOffsets

        public void addBytecodeOffsets​(java.util.BitSet bytecodeOffsets)
      • getBytecodeRange

        public abstract void getBytecodeRange​(java.util.BitSet values)
      • measureBytecode

        protected void measureBytecode​(java.util.BitSet values)
      • measureBytecode

        protected static void measureBytecode​(java.util.BitSet values,
                                              Exprent exprent)
      • measureBytecode

        protected static void measureBytecode​(java.util.BitSet values,
                                              java.util.List<? extends Exprent> list)
      • sortIndexed

        public static java.util.List<? extends Exprent> sortIndexed​(java.util.List<? extends Exprent> lst)
      • getGenericArgs

        protected void getGenericArgs​(java.util.List<java.lang.String> fparams,
                                      java.util.Map<VarType,​VarType> genericsMap,
                                      java.util.List<VarType> genericArgs)
      • appendParameters

        protected void appendParameters​(TextBuffer buf,
                                        java.util.List<VarType> genericArgs)
      • getNamedGenerics

        protected java.util.Map<VarType,​java.util.List<VarType>> getNamedGenerics()
      • setInvocationInstance

        public void setInvocationInstance()
      • setIsQualifier

        public void setIsQualifier()
      • allowNewlineAfterQualifier

        public boolean allowNewlineAfterQualifier()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object