Interface CompilablePropertyAccessor

    • Method Detail

      • isCompilable

        boolean isCompilable()
        Return true if this property accessor is currently suitable for compilation.
      • getPropertyType

        java.lang.Class<?> getPropertyType()
        Return the type of the accessed property - may only be known once an access has occurred.
      • generateCode

        void generateCode(java.lang.String propertyName,
                          MethodVisitor mv,
                          CodeFlow cf)
        Generate the bytecode the performs the access operation into the specified MethodVisitor using context information from the codeflow where necessary.
        propertyName - the name of the property
        mv - the Asm method visitor into which code should be generated
        cf - the current state of the expression compiler