org.apache.tapestry.enhance
Class GenericsMethodSignatureImpl

java.lang.Object
  extended by org.apache.tapestry.enhance.MethodSignatureImpl
      extended by org.apache.tapestry.enhance.GenericsMethodSignatureImpl
All Implemented Interfaces:
MethodSignature

public class GenericsMethodSignatureImpl
extends MethodSignatureImpl
implements MethodSignature

Implementation of MethodSignature that supports jdk 1.5 generic typing support.


Field Summary
 
Fields inherited from class org.apache.tapestry.enhance.MethodSignatureImpl
_exceptionTypes, _hashCode, _name, _parameterTypes, _returnType
 
Constructor Summary
GenericsMethodSignatureImpl(Class type, Method m)
           
 
Method Summary
 boolean isGeneric()
          If the method definition has generic parameters or return types it is expected that this will return true.
 
Methods inherited from class org.apache.tapestry.enhance.MethodSignatureImpl
count, equals, exceptionsEncompass, getExceptionTypes, getName, getParameterTypes, getReturnType, getUniqueId, hashCode, isOverridingSignatureOf, mismatch, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.enhance.MethodSignature
getExceptionTypes, getName, getParameterTypes, getReturnType, getUniqueId, isOverridingSignatureOf
 

Constructor Detail

GenericsMethodSignatureImpl

public GenericsMethodSignatureImpl(Class type,
                                   Method m)
Method Detail

isGeneric

public boolean isGeneric()
Description copied from interface: MethodSignature
If the method definition has generic parameters or return types it is expected that this will return true.

Specified by:
isGeneric in interface MethodSignature
Overrides:
isGeneric in class MethodSignatureImpl
Returns:
True if this is a generics based method, false otherwise.


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.