Class SignatureParser.MethodTypeSignature
java.lang.Object
org.codehaus.janino.util.signature.SignatureParser.MethodTypeSignature
- Enclosing class:
- SignatureParser
Representation of the "MethodTypeSignature" clause.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe formal types of the method, e.g.The types of the method's parameters.The return type of the method.The exceptions declared for the method. -
Constructor Summary
ConstructorsConstructorDescriptionMethodTypeSignature
(List<SignatureParser.FormalTypeParameter> formalTypeParameters, List<SignatureParser.TypeSignature> parameterTypes, SignatureParser.TypeSignature returnType, List<SignatureParser.ThrowsSignature> thrownTypes) -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Combines the name of the declaring class, the name of the method and this method type signature into a nice, human-readable string like '<T> MyClass.meth(List<T> l, int i) => double
'.
-
Field Details
-
formalTypeParameters
The formal types of the method, e.g. 'void <T, U> int meth(T t, U u) ...
'. -
parameterTypes
The types of the method's parameters. -
returnType
The return type of the method. -
thrownTypes
The exceptions declared for the method.
-
-
Constructor Details
-
MethodTypeSignature
public MethodTypeSignature(List<SignatureParser.FormalTypeParameter> formalTypeParameters, List<SignatureParser.TypeSignature> parameterTypes, SignatureParser.TypeSignature returnType, List<SignatureParser.ThrowsSignature> thrownTypes)
-
-
Method Details