Class CallableDeclaration.Signature

java.lang.Object
com.github.javaparser.ast.body.CallableDeclaration.Signature
Enclosing class:
CallableDeclaration<T extends CallableDeclaration<?>>

public static class CallableDeclaration.Signature extends Object
A method or constructor signature.

Note that since JavaParser has no real knowledge of types - only the text found in the source file - using this will fail in some cases. (java.util.String != String for example, and generics are not taken into account.)

  • Field Details

    • name

      private final String name
    • parameterTypes

      private final List<Type> parameterTypes
  • Constructor Details

    • Signature

      private Signature(String name, List<Type> parameterTypes)
  • Method Details