Class ClassUtil.Ctor

  • Enclosing class:
    ClassUtil

    public static final class ClassUtil.Ctor
    extends java.lang.Object
    Value class used for caching Constructor declarations; used because caching done by JDK appears to be somewhat inefficient for some use cases.
    Since:
    2.7
    • Field Detail

      • _ctor

        public final java.lang.reflect.Constructor<?> _ctor
      • _annotations

        private transient java.lang.annotation.Annotation[] _annotations
      • _paramAnnotations

        private transient java.lang.annotation.Annotation[][] _paramAnnotations
      • _paramCount

        private int _paramCount
    • Constructor Detail

      • Ctor

        public Ctor​(java.lang.reflect.Constructor<?> ctor)
    • Method Detail

      • getConstructor

        public java.lang.reflect.Constructor<?> getConstructor()
      • getParamCount

        public int getParamCount()
      • getDeclaringClass

        public java.lang.Class<?> getDeclaringClass()
      • getDeclaredAnnotations

        public java.lang.annotation.Annotation[] getDeclaredAnnotations()
      • getParameterAnnotations

        public java.lang.annotation.Annotation[][] getParameterAnnotations()