< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaLangReflectAccess.java

Print this page
@@ -100,9 +100,13 @@
      public <T extends AccessibleObject> T getRoot(T obj);
  
      /** Tests if this is a trusted final field */
      public boolean isTrustedFinalField(Field f);
  
+ 
+     /** Tests if this is a null-restricted field */
+     public boolean isNullRestrictedField(Field f);
+ 
      /** Returns a new instance created by the given constructor with access check */
      public <T> T newInstance(Constructor<T> ctor, Object[] args, Class<?> caller)
          throws IllegalAccessException, InstantiationException, InvocationTargetException;
  }
< prev index next >