public abstract static class ClassTool.CallableSub<T extends ClassTool.CallableSub> extends ClassTool.Sub<T>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
javadocRef |
protected java.lang.String |
signature |
protected java.lang.String |
uniqueName |
Constructor and Description |
---|
ClassTool.CallableSub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJavadocRef() |
int |
getParameterCount()
Returns the number of expected parameters.
|
abstract java.lang.Class[] |
getParameters() |
java.lang.String |
getSignature() |
java.lang.String |
getUniqueName()
Build a unique method/ctor name by appending the simple names of
the expected parameter types, thereby distinguishing constructors
and overloaded methods with a useful name that would still be a
valid method name.
|
abstract boolean |
isVarArgs() |
protected java.lang.String |
signature(boolean fullNames) |
boolean |
takesParameters() |
compareTo, equals, getAnnotations, getElement, getModifiers, getName, getSubType, hashCode, isAbstract, isDeprecated, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString
protected java.lang.String uniqueName
protected java.lang.String javadocRef
protected java.lang.String signature
public abstract java.lang.Class[] getParameters()
public abstract boolean isVarArgs()
public boolean takesParameters()
public int getParameterCount()
public java.lang.String getUniqueName()
getUniqueName
in class ClassTool.Sub<T extends ClassTool.CallableSub>
public java.lang.String getSignature()
public java.lang.String getJavadocRef()
getJavadocRef
in class ClassTool.Sub<T extends ClassTool.CallableSub>
protected java.lang.String signature(boolean fullNames)
Copyright (c) 2003-2007 Apache Software Foundation