类 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.ConstructorSub, ClassTool.MethodSub
封闭类:
ClassTool

public abstract static class ClassTool.CallableSub<T extends ClassTool.CallableSub> extends ClassTool.Sub<T>
  • 字段详细资料

    • uniqueName

      protected String uniqueName
    • javadocRef

      protected String javadocRef
    • signature

      protected String signature
  • 构造器详细资料

    • CallableSub

      public CallableSub()
  • 方法详细资料

    • getParameters

      public abstract Class[] getParameters()
    • isVarArgs

      public abstract boolean isVarArgs()
    • takesParameters

      public boolean takesParameters()
    • 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.
    • getUniqueName

      public 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. This is particularly useful for generating JUnit test method names.
      指定者:
      getUniqueName 在类中 ClassTool.Sub<T extends ClassTool.CallableSub>
    • getSignature

      public String getSignature()
    • getJavadocRef

      public String getJavadocRef()
      指定者:
      getJavadocRef 在类中 ClassTool.Sub<T extends ClassTool.CallableSub>
    • signature

      protected String signature(boolean fullNames)