com.vaadin.client.metadata
Class Method

java.lang.Object
  extended by com.vaadin.client.metadata.Method

public class Method
extends java.lang.Object


Constructor Summary
Method(Type type, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLookupKey()
          Gets the string that is internally used when looking up generated support code for this method.
 java.lang.String getName()
           
 Type[] getParameterTypes()
           
 Type getReturnType()
           
 java.lang.String getSignature()
          The unique signature used to identify this method.
 Type getType()
           
 int hashCode()
           
 void invoke(java.lang.Object target, java.lang.Object... params)
           
 boolean isDelayed()
           
 boolean isLastOnly()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Method

public Method(Type type,
              java.lang.String name)
Method Detail

getType

public Type getType()

getName

public java.lang.String getName()

getReturnType

public Type getReturnType()
                   throws NoDataException
Throws:
NoDataException

invoke

public void invoke(java.lang.Object target,
                   java.lang.Object... params)
            throws NoDataException
Throws:
NoDataException

getSignature

public java.lang.String getSignature()
The unique signature used to identify this method. The structure of the returned string may change without notice and should not be used for any other purpose than identification. The signature is currently based on the declaring type's signature and the method's name.

Returns:
the unique signature of this method

getLookupKey

public java.lang.String getLookupKey()
Gets the string that is internally used when looking up generated support code for this method. This is the same as getSignature(), but without any type parameters.

Returns:
the string to use for looking up generated support code
Since:
7.2

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getParameterTypes

public Type[] getParameterTypes()
                         throws NoDataException
Throws:
NoDataException

isDelayed

public boolean isDelayed()

isLastOnly

public boolean isLastOnly()


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.