Package com.vaadin.client.metadata
Class Method
- java.lang.Object
-
- com.vaadin.client.metadata.Method
-
public class Method extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getLookupKey()
Gets the string that is internally used when looking up generated support code for this method.String
getName()
Type[]
getParameterTypes()
Type
getReturnType()
String
getSignature()
The unique signature used to identify this method.Type
getType()
int
hashCode()
void
invoke(Object target, Object... params)
boolean
isDelayed()
boolean
isLastOnly()
boolean
isNoLayout()
Checks whether this method is annotated withNoLayout
.String
toString()
-
-
-
Method Detail
-
getType
public Type getType()
-
getName
public String getName()
-
getReturnType
public Type getReturnType() throws NoDataException
- Throws:
NoDataException
-
invoke
public void invoke(Object target, Object... params) throws NoDataException
- Throws:
NoDataException
-
getSignature
public 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 String getLookupKey()
Gets the string that is internally used when looking up generated support code for this method. This is the same asgetSignature()
, but without any type parameters.- Returns:
- the string to use for looking up generated support code
- Since:
- 7.2
-
getParameterTypes
public Type[] getParameterTypes() throws NoDataException
- Throws:
NoDataException
-
isDelayed
public boolean isDelayed()
-
isLastOnly
public boolean isLastOnly()
-
isNoLayout
public boolean isNoLayout()
Checks whether this method is annotated withNoLayout
.- Returns:
true
if this method has a NoLayout annotation; otherwisefalse
- Since:
- 7.4
-
-