Lines Matching refs:args
132 public static boolean canDiscoverWithGetDeclaredConstructor(Class<?> klass, Class<?> args[]) { in canDiscoverWithGetDeclaredConstructor() argument
134 klass.getDeclaredConstructor(args); in canDiscoverWithGetDeclaredConstructor()
141 public static boolean canDiscoverWithGetDeclaredConstructors(Class<?> klass, Class<?> args[]) { in canDiscoverWithGetDeclaredConstructors() argument
143 if (Arrays.equals(c.getParameterTypes(), args)) { in canDiscoverWithGetDeclaredConstructors()
150 public static boolean canDiscoverWithGetConstructor(Class<?> klass, Class<?> args[]) { in canDiscoverWithGetConstructor() argument
152 klass.getConstructor(args); in canDiscoverWithGetConstructor()
159 public static boolean canDiscoverWithGetConstructors(Class<?> klass, Class<?> args[]) { in canDiscoverWithGetConstructors() argument
161 if (Arrays.equals(c.getParameterTypes(), args)) { in canDiscoverWithGetConstructors()
168 public static boolean canInvokeConstructor(Class<?> klass, Class<?> args[], Object[] initargs) { in canInvokeConstructor() argument
170 Constructor c = klass.getDeclaredConstructor(args); in canInvokeConstructor()
201 public static boolean canObserveConstructorHiddenAccessFlags(Class<?> klass, Class<?> args[]) in canObserveConstructorHiddenAccessFlags() argument
203 return (klass.getConstructor(args).getModifiers() & getHiddenApiAccessFlags()) != 0; in canObserveConstructorHiddenAccessFlags()