< prev index next >

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

Print this page




 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     @Override
 221     public Class<?> getDeclaringClass() {
 222         return clazz;
 223     }
 224 
 225     /**
 226      * Returns the name of the method represented by this {@code Method}
 227      * object, as a {@code String}.
 228      */
 229     @Override
 230     public String getName() {
 231         return name;
 232     }
 233 
 234     /**
 235      * {@inheritDoc}
 236      */
 237     @Override
 238     public int getModifiers() {




 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      */
 238     @Override
 239     public int getModifiers() {


< prev index next >