类 ClassTool.CallableSub<T extends ClassTool.CallableSub>
java.lang.Object
org.apache.velocity.tools.generic.ClassTool.Sub<T>
org.apache.velocity.tools.generic.ClassTool.CallableSub<T>
- 所有已实现的接口:
Comparable<T>
- 封闭类:
- ClassTool
public abstract static class ClassTool.CallableSub<T extends ClassTool.CallableSub>
extends ClassTool.Sub<T>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intReturns the number of expected parameters.abstract Class[]Get (and cache) inspected callable signatureBuild 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 booleanprotected Stringsignature(boolean fullNames) Internal method to get the inspected callable signature.boolean从类继承的方法 org.apache.velocity.tools.generic.ClassTool.Sub
compareTo, equals, getAnnotations, getElement, getModifiers, getName, getSubType, hashCode, isAbstract, isDeprecated, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString
-
字段详细资料
-
uniqueName
-
javadocRef
-
signature
-
-
构造器详细资料
-
CallableSub
public CallableSub()
-
-
方法详细资料
-
getParameters
-
isVarArgs
public abstract boolean isVarArgs() -
takesParameters
public boolean takesParameters()- 返回:
- whether the inspected callable takes parameters
-
getParameterCount
public int getParameterCount()Returns the number of expected parameters. If this method or constructor is declared with varargs, the vararg only counts as one.- 返回:
- inspected callable parameters count
-
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. This is particularly useful for generating JUnit test method names.- 指定者:
getUniqueName在类中ClassTool.Sub<T extends ClassTool.CallableSub>- 返回:
- inspected callable unique name
-
getSignature
Get (and cache) inspected callable signature- 返回:
- inspected callable signature
-
getJavadocRef
- 指定者:
getJavadocRef在类中ClassTool.Sub<T extends ClassTool.CallableSub>- 返回:
- inspected callable javadoc ref
-
signature
Internal method to get the inspected callable signature.- 参数:
fullNames- whether to use full names- 返回:
- inspected callable signature
-