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 Summary

      Fields 
      Modifier and Type Field Description
      java.lang.reflect.Constructor<?> _ctor  
    • Constructor Summary

      Constructors 
      Constructor Description
      Ctor​(java.lang.reflect.Constructor<?> ctor)  
    • Field Detail

      • _ctor

        public final java.lang.reflect.Constructor<?> _ctor
    • 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()