< prev index next >

src/java.base/share/classes/java/lang/reflect/Method.java

Print this page
rev 55127 : 8223351: [lworld] Primary mirror and nullable mirror for inline type
Reviewed-by: tbd


 197     void checkCanSetAccessible(Class<?> caller) {
 198         checkCanSetAccessible(caller, clazz);
 199     }
 200 
 201     @Override
 202     Method getRoot() {
 203         return root;
 204     }
 205 
 206     @Override
 207     boolean hasGenericInformation() {
 208         return (getGenericSignature() != null);
 209     }
 210 
 211     @Override
 212     byte[] getAnnotationBytes() {
 213         return annotations;
 214     }
 215 
 216     /**
 217      * Returns the {@code Class} object representing
 218      * {@linkplain Class#asBoxType() the box type} of the class or interface
 219      * that declares the method represented by this object.
 220      *
 221      */
 222     @Override
 223     public Class<?> getDeclaringClass() {
 224         return clazz;
 225     }
 226 
 227     /**
 228      * Returns the name of the method represented by this {@code Method}
 229      * object, as a {@code String}.
 230      */
 231     @Override
 232     public String getName() {
 233         return name;
 234     }
 235 
 236     /**
 237      * {@inheritDoc}
 238      */




 197     void checkCanSetAccessible(Class<?> caller) {
 198         checkCanSetAccessible(caller, clazz);
 199     }
 200 
 201     @Override
 202     Method getRoot() {
 203         return root;
 204     }
 205 
 206     @Override
 207     boolean hasGenericInformation() {
 208         return (getGenericSignature() != null);
 209     }
 210 
 211     @Override
 212     byte[] getAnnotationBytes() {
 213         return annotations;
 214     }
 215 
 216     /**
 217      * Returns the {@code Class} object representing the class or interface

 218      * that declares the method represented by this object.
 219      *
 220      */
 221     @Override
 222     public Class<?> getDeclaringClass() {
 223         return clazz;
 224     }
 225 
 226     /**
 227      * Returns the name of the method represented by this {@code Method}
 228      * object, as a {@code String}.
 229      */
 230     @Override
 231     public String getName() {
 232         return name;
 233     }
 234 
 235     /**
 236      * {@inheritDoc}
 237      */


< prev index next >