Class MetaClass

    • Field Detail

      • clazz

        @Deprecated
        public final Class clazz
        Deprecated.
        as of 1.177 Use klass. If you really want the Java class representation, use klass.toJavaClass().
        This meta class wraps this class
      • klass

        public final Klass<?> klass
      • classLoader

        public final MetaClassLoader classLoader
        MetaClassLoader that wraps clazz.getClassLoader(). Null if the class is loaded by the bootstrap classloader.
      • baseClass

        public final MetaClass baseClass
        Base metaclass. Note that baseClass.clazz==clazz.getSuperClass()
      • webApp

        public final WebApp webApp
        WebApp that owns this meta class.
      • NO_CACHE

        public static boolean NO_CACHE
        Don't cache anything in memory, so that any change will take effect instantly.
      • LEGACY_GETTER_MODE

        public static boolean LEGACY_GETTER_MODE
        In case the breaking changes are not desired. They are recommended for security reason.
      • LEGACY_WEB_METHOD_MODE

        public static boolean LEGACY_WEB_METHOD_MODE
        In case the breaking changes are not desired. They are recommended for security reason.
    • Method Detail

      • getPostConstructMethods

        public SingleLinkedList<MethodRef> getPostConstructMethods()
        Returns all the methods in the ancestry chain annotated with PostConstruct from those defined in the derived type toward those defined in the base type. Normally invocation requires visiting the list in the reverse order.
        Since:
        1.220