Class EnumObjectMethod

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class EnumObjectMethod
    extends ObjectMethod
    Wrapper to fix Bug 442540.
    Since:
    1.6
    Author:
    Sina Madani
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String enumName  
      protected java.lang.Enum<?>[] enumValues  
      protected java.lang.Object object  
      • Fields inherited from class org.eclipse.epsilon.eol.execute.introspection.java.ObjectMethod

        method
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumObjectMethod​(java.lang.Class<? extends java.lang.Enum<?>> enumClazz, java.lang.String property)  
    • Field Detail

      • enumValues

        protected java.lang.Enum<?>[] enumValues
      • enumName

        protected java.lang.String enumName
      • object

        protected java.lang.Object object
    • Constructor Detail

      • EnumObjectMethod

        public EnumObjectMethod​(java.lang.Class<? extends java.lang.Enum<?>> enumClazz,
                                java.lang.String property)
    • Method Detail

      • getEnumValue

        protected java.lang.Enum<?> getEnumValue()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable