Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » lang » reflect » [javadoc | source]
java.lang.reflect
public final class: Method [javadoc | source]
java.lang.Object
   java.lang.reflect.AccessibleObject
      java.lang.reflect.Method

All Implemented Interfaces:
    GenericDeclaration, Member, AnnotatedElement

Fields inherited from java.lang.reflect.AccessibleObject:
reflectExporter,  isAccessible
Constructor:
 Method(Method m) 
    Copy constructor
    Parameters:
    m - original method
 Method(long id,
    Class clss,
    String name,
    String desc,
    int m) 
    Only VM should call this constructor. String parameters must be interned.
    api2vm:
Method from java.lang.reflect.Method Summary:
equals,   getAnnotation,   getDeclaredAnnotations,   getDeclaringClass,   getDefaultValue,   getExceptionTypes,   getGenericExceptionTypes,   getGenericParameterTypes,   getGenericReturnType,   getId,   getModifiers,   getName,   getParameterAnnotations,   getParameterTypes,   getReturnType,   getSignature,   getTypeParameters,   hashCode,   invoke,   isBridge,   isSynthetic,   isVarArgs,   toGenericString,   toString
Methods from java.lang.reflect.AccessibleObject:
appendArrayGenericType,   appendArrayType,   appendArrayType,   appendGenericType,   appendSimpleType,   checkInvokationArguments,   checkObject,   getAnnotation,   getAnnotations,   getDeclaredAnnotations,   isAccessible,   isAnnotationPresent,   setAccessible,   setAccessible
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.lang.reflect.Method Detail:
 public boolean equals(Object obj) 
 public A getAnnotation(Class<A> annotationClass) 
 public Annotation[] getDeclaredAnnotations() 
 public Class<?> getDeclaringClass() 
 public Object getDefaultValue() 
 public Class<?>[] getExceptionTypes() 
 public Type[] getGenericExceptionTypes() throws GenericSignatureFormatError, TypeNotPresentException, MalformedParameterizedTypeException 
 public Type[] getGenericParameterTypes() throws GenericSignatureFormatError, TypeNotPresentException, MalformedParameterizedTypeException 
 public Type getGenericReturnType() throws GenericSignatureFormatError, TypeNotPresentException, MalformedParameterizedTypeException 
 long getId() 
    Called by VM to obtain this method's handle.
 public int getModifiers() 
 public String getName() 
 public Annotation[][] getParameterAnnotations() 
 public Class<?>[] getParameterTypes() 
 public Class<?> getReturnType() 
 String getSignature() 
    This method is required by serialization mechanism.
 public TypeVariable<Method>[] getTypeParameters() throws GenericSignatureFormatError 
 public int hashCode() 
 public Object invoke(Object obj,
    Object args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException 
 public boolean isBridge() 
 public boolean isSynthetic() 
 public boolean isVarArgs() 
 public String toGenericString() 
 public String toString()