Class MethodExpressionLiteral

java.lang.Object
jakarta.el.Expression
jakarta.el.MethodExpression
org.glassfish.expressly.MethodExpressionLiteral
All Implemented Interfaces:
Externalizable, Serializable

public class MethodExpressionLiteral extends jakarta.el.MethodExpression implements Externalizable
See Also:
  • Field Details

    • expectedType

      private Class<?> expectedType
    • expression

      private String expression
    • paramTypes

      private Class<?>[] paramTypes
  • Constructor Details

    • MethodExpressionLiteral

      public MethodExpressionLiteral()
    • MethodExpressionLiteral

      public MethodExpressionLiteral(String expression, Class<?> expectedType, Class<?>[] paramTypes)
  • Method Details

    • getMethodInfo

      public jakarta.el.MethodInfo getMethodInfo(jakarta.el.ELContext context) throws jakarta.el.ELException
      Specified by:
      getMethodInfo in class jakarta.el.MethodExpression
      Throws:
      jakarta.el.ELException
    • invoke

      public Object invoke(jakarta.el.ELContext context, Object[] params) throws jakarta.el.ELException
      Specified by:
      invoke in class jakarta.el.MethodExpression
      Throws:
      jakarta.el.ELException
    • getExpressionString

      public String getExpressionString()
      Specified by:
      getExpressionString in class jakarta.el.Expression
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class jakarta.el.Expression
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class jakarta.el.Expression
    • isLiteralText

      public boolean isLiteralText()
      Specified by:
      isLiteralText in class jakarta.el.Expression
    • readExternal

      public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
      Specified by:
      readExternal in interface Externalizable
      Throws:
      IOException
      ClassNotFoundException
    • writeExternal

      public void writeExternal(ObjectOutput out) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Throws:
      IOException