FileDocCategorySizeDatePackage
Method.javaAPI DocGlassfish v2 API3452Fri May 04 22:33:24 BST 2007com.sun.enterprise.tools.verifier.apiscan.classfile

Method

public interface Method
author
Sanjeeb.Sahoo@Sun.COM

Fields Summary
Constructors Summary
Methods Summary
public intgetAccess()

return
return the access flags.

public java.lang.StringgetDescriptor()

return
return the descriptor, e.g. ([Ljava.lang.String;)V

public java.lang.String[]getExceptions()

return
the internal names of the method's exception classes. May be null.

public java.lang.StringgetName()

return
the name of the method.

public ClassFilegetOwningClass()

return
the {@link ClassFile} this method belongs to.

public java.util.CollectiongetReferencedClasses()

return
an unmodifiable collection of class names in external format representing the classes that are directly (i.e. not recurssively) referenced by this method.

public java.util.CollectiongetReferencedMethods()

return
an unmodifiable collection of method references representing the methods that are invoked directly (i.e. not recurssively) from this method.

public MethodRefgetSelfReference()

return
a reference that represents this method.

public java.lang.StringgetSignature()
Used only when method's parameters or return type use generics.

return

public booleanisNative()

return
true if this is a native method else false