类 ClassTool.MethodSub
java.lang.Object
org.apache.velocity.tools.generic.ClassTool.Sub<T>
org.apache.velocity.tools.generic.ClassTool.CallableSub<ClassTool.MethodSub>
org.apache.velocity.tools.generic.ClassTool.MethodSub
- 所有已实现的接口:
Comparable<ClassTool.MethodSub>
- 封闭类:
- ClassTool
A simplified wrapping interface for inspecting features
of a
Method
in an inspected Class.-
字段概要
字段从类继承的字段 org.apache.velocity.tools.generic.ClassTool.CallableSub
javadocRef, signature, uniqueName
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected AnnotatedElement
protected int
getName()
Class[]
If this method can be treated as a bean property in Velocity (which does not exactly follow the javabean spec for such things) then it will return the "bean property" equivalent of the method name.protected String
boolean
Returns true if the final parameter for the method was declared as a vararg.boolean
isVoid()
Returns true if the return type of this method is void.private String
uncapitalize
(String string) 从类继承的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
getJavadocRef, getParameterCount, getSignature, getUniqueName, signature, takesParameters
从类继承的方法 org.apache.velocity.tools.generic.ClassTool.Sub
compareTo, equals, getAnnotations, hashCode, isAbstract, isDeprecated, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString
-
字段详细资料
-
method
-
-
构造器详细资料
-
MethodSub
-
-
方法详细资料
-
getElement
- 指定者:
getElement
在类中ClassTool.Sub<ClassTool.MethodSub>
-
getName
- 指定者:
getName
在类中ClassTool.Sub<ClassTool.MethodSub>
-
getPropertyName
If this method can be treated as a bean property in Velocity (which does not exactly follow the javabean spec for such things) then it will return the "bean property" equivalent of the method name. (e.g. for getFoo(), isFoo() or setFoo(foo) it will return "foo") -
uncapitalize
-
isVarArgs
public boolean isVarArgs()Returns true if the final parameter for the method was declared as a vararg. -
isVoid
public boolean isVoid()Returns true if the return type of this method is void. -
getReturns
-
getParameters
-
getModifiers
protected int getModifiers()- 指定者:
getModifiers
在类中ClassTool.Sub<ClassTool.MethodSub>
-
getSubType
- 指定者:
getSubType
在类中ClassTool.Sub<ClassTool.MethodSub>
-