Lines Matching refs:Class
79 * java.lang.Class}). In the event of such a SecurityException, the
115 * the class {@link java.lang.Class}).
119 * {@code java.lang.Class}, and {@code flag} is true.
132 /* Check that you aren't exposing java.lang.Class.<init>. */
138 if (c.getDeclaringClass() == Class.class) {
139 throw new SecurityException("Can not make a java.lang.Class" +
179 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
188 Class<? extends Annotation> annotationClass) {
214 // remembering the last Class for which the check succeeded.
218 // (See also Class.newInstance(), which uses a similar method.)
226 void checkAccess(Class<?> caller, Class<?> clazz, Object obj, int modifiers)
233 Class<?> targetClass = clazz;
238 if (cache instanceof Class[]) {
239 Class<?>[] cache2 = (Class<?>[]) cache;
257 void slowCheckMemberAccess(Class<?> caller, Class<?> clazz, Object obj, int modifiers,
258 Class<?> targetClass)
266 : new Class<?>[] { caller, targetClass });