Enum BuiltInMethod

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BuiltInMethod>

    public enum BuiltInMethod
    extends java.lang.Enum<BuiltInMethod>
    Built-in methods.
    • Field Detail

      • method

        public final java.lang.reflect.Method method
      • constructor

        public final java.lang.reflect.Constructor constructor
      • field

        public final java.lang.reflect.Field field
      • MAP

        public static final com.google.common.collect.ImmutableMap<java.lang.reflect.Method,​BuiltInMethod> MAP
    • Constructor Detail

      • BuiltInMethod

        private BuiltInMethod​(java.lang.reflect.Method method,
                              java.lang.reflect.Constructor constructor,
                              java.lang.reflect.Field field)
      • BuiltInMethod

        private BuiltInMethod​(java.lang.Class clazz,
                              java.lang.String methodName,
                              java.lang.Class... argumentTypes)
        Defines a method.
      • BuiltInMethod

        private BuiltInMethod​(java.lang.Class clazz,
                              java.lang.Class... argumentTypes)
        Defines a constructor.
      • BuiltInMethod

        private BuiltInMethod​(java.lang.Class clazz,
                              java.lang.String fieldName,
                              boolean dummy)
        Defines a field.
    • Method Detail

      • values

        public static BuiltInMethod[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BuiltInMethod c : BuiltInMethod.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BuiltInMethod valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getMethodName

        public java.lang.String getMethodName()