/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang.reflect; import java.lang.annotation.Annotation; public final class Method extends AccessibleObject implements GenericDeclaration, Member { native public Class getDeclaringClass(); native public String getName(); native public int getModifiers(); native public TypeVariable[] getTypeParameters(); native public Class getReturnType(); native public Type getGenericReturnType(); native public Class[] getParameterTypes(); native public Type[] getGenericParameterTypes(); native public Class[] getExceptionTypes(); native public Type[] getGenericExceptionTypes(); native public boolean equals(Object obj); native public int hashCode(); native public String toString(); native public String toGenericString(); native public Object invoke(Object obj, Object... args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException; native public boolean isBridge(); native public boolean isVarArgs(); native public boolean isSynthetic(); native public T getAnnotation( Class annotationClass); native public Annotation[] getDeclaredAnnotations(); native public Object getDefaultValue(); native public Annotation[][] getParameterAnnotations(); private Method() { } }