public static class ReflectUtil.SignatureBuilder extends Object
Modifier and Type | Method and Description |
---|---|
String |
build()
Builds the method signature with all types in source form.
|
ReflectUtil.SignatureBuilder |
removeAbstractModifier()
Removes the abstract modifier from the current modifiers (either the last
modifiers set by
withModifiers(int) , or the modifiers of the method
passed to ReflectUtil.signatureBuilder(com.google.gwt.inject.rebind.reflect.MethodLiteral<?, ?>) ). |
ReflectUtil.SignatureBuilder |
withMethodName(String methodName)
Sets the method name used in the signature.
|
ReflectUtil.SignatureBuilder |
withModifiers(int modifiers)
Sets the modifiers used in the method signature.
|
ReflectUtil.SignatureBuilder |
withParameterNames(String[] parameterNames)
Sets the names to use for the method's parameters.
|
public String build() throws NoSourceNameException
NoSourceNameException
- if any type's source name cannot be
determined.ReflectUtil.getSourceName(Type)
public ReflectUtil.SignatureBuilder removeAbstractModifier()
withModifiers(int)
, or the modifiers of the method
passed to ReflectUtil.signatureBuilder(com.google.gwt.inject.rebind.reflect.MethodLiteral<?, ?>)
).public ReflectUtil.SignatureBuilder withMethodName(String methodName)
public ReflectUtil.SignatureBuilder withModifiers(int modifiers)
public ReflectUtil.SignatureBuilder withParameterNames(String[] parameterNames)
Copyright © 2008–2018. All rights reserved.