public static class MethodDescription.SignatureToken extends Object
| Constructor and Description | 
|---|
| SignatureToken(String name,
              TypeDescription returnType,
              List<? extends TypeDescription> parameterTypes)Creates a new type token. | 
| SignatureToken(String name,
              TypeDescription returnType,
              TypeDescription... parameterType)Creates a new type token. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.TypeToken | asTypeToken()Returns this signature token as a type token. | 
| boolean | equals(Object other) | 
| String | getDescriptor()Returns a method descriptor for this token. | 
| String | getName()Returns the internal name of the represented method. | 
| List<TypeDescription> | getParameterTypes()Returns this token's parameter types. | 
| TypeDescription | getReturnType()Returns this token's return type. | 
| int | hashCode() | 
| String | toString() | 
public SignatureToken(String name, TypeDescription returnType, TypeDescription... parameterType)
name - The internal name of the represented method.returnType - The represented method's raw return type.parameterType - The represented method's raw parameter types.public SignatureToken(String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes)
name - The internal name of the represented method.returnType - The represented method's raw return type.parameterTypes - The represented method's raw parameter types.public String getName()
public TypeDescription getReturnType()
public List<TypeDescription> getParameterTypes()
public MethodDescription.TypeToken asTypeToken()
public String getDescriptor()
@CachedReturnPlugin.Enhance(value="hashCode") public int hashCode()
public boolean equals(@MaybeNull Object other)
Copyright © 2014–2024. All rights reserved.