|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.inject.rebind.reflect.ReflectUtil.SignatureBuilder
public static class ReflectUtil.SignatureBuilder
Builder that produces the signature of a method.
Method Summary | |
---|---|
java.lang.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(java.lang.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(java.lang.String[] parameterNames)
Sets the names to use for the method's parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.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(java.lang.String methodName)
public ReflectUtil.SignatureBuilder withModifiers(int modifiers)
public ReflectUtil.SignatureBuilder withParameterNames(java.lang.String[] parameterNames)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |