Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
Interface IMethod  view IMethod download IMethod.java

All Superinterfaces:
IDefinition, Typed
All Known Implementing Classes:
ExternalConstructor, ExternalMethod, InterfaceConstructor, MethodDef

public interface IMethod
extends Typed

MethodDef contains all the pertinent information for a method, including return type, formal parameters, and exceptions thrown


Method Summary
 IClass[] getExceptions()
           
 ISignature getSignature()
          Returns the signature of this method.
 boolean hasCompatibleSignature(ISignature signature)
          verifies if the input signature type is compatible with this method signature
 boolean hasSameSignature(ISignature signature)
          verifies if the input signature is the same with signatures of this method
 
Methods inherited from interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Typed
getType
 
Methods inherited from interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IDefinition
addReference, getName, getNumReferences, getQualifiedName, getReferences, isSourced
 

Method Detail

getSignature

public ISignature getSignature()
Returns the signature of this method.


hasSameSignature

public boolean hasSameSignature(ISignature signature)
verifies if the input signature is the same with signatures of this method


hasCompatibleSignature

public boolean hasCompatibleSignature(ISignature signature)
verifies if the input signature type is compatible with this method signature


getExceptions

public IClass[] getExceptions()