Class TypePool.Default.LazyTypeDescription.MethodToken
java.lang.Object
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.MethodToken
- Enclosing class:
TypePool.Default.LazyTypeDescription
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA token representing a method's parameter. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMethodToken(String name, int modifiers, String descriptor, String genericSignature, String[] exceptionName, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, Map<Integer, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?, ?> defaultValue) Creates a new method token. -
Method Summary
-
Constructor Details
-
MethodToken
protected MethodToken(String name, int modifiers, String descriptor, @MaybeNull String genericSignature, @MaybeNull String[] exceptionName, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, Map<Integer, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, @MaybeNull AnnotationValue<?, ?> defaultValue) Creates a new method token.- Parameters:
name- The name of the method.modifiers- The modifiers of the represented method.descriptor- The descriptor of the represented method.genericSignature- The methods's generic signature as found in the class file ornullif the method is not generic.exceptionName- An array of internal names of the exceptions of the represented method ornullif there are no such exceptions.typeVariableAnnotationTokens- A mapping of the type variables' type annotation tokens by their indices.typeVariableBoundAnnotationTokens- A mapping of the type variables' type bounds' type annotation tokens by their index and each variable's index.returnTypeAnnotationTokens- A mapping of the return type's type variable tokens.parameterTypeAnnotationTokens- A mapping of the parameter types' type annotation tokens by their indices.exceptionTypeAnnotationTokens- A mapping of the exception types' type annotation tokens by their indices.receiverTypeAnnotationTokens- A mapping of the receiver type's annotation tokens.annotationTokens- A list of annotation tokens that are present on the represented method.parameterAnnotationTokens- A map of parameter indices to tokens that represent their annotations.parameterTokens- A list of tokens describing meta data of the method's parameters.defaultValue- The default value of this method ornullif there is no such value.
-