protected static class TypePool.LazyTypeDescription.MethodToken extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
MethodToken(int modifiers,
String name,
String descriptor,
String[] exceptionName,
List<TypePool.LazyTypeDescription.AnnotationToken> annotationTokens,
Map<Integer,List<TypePool.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens,
TypePool.LazyTypeDescription.AnnotationValue<?,?> defaultValue)
Creates a new method token.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<TypePool.LazyTypeDescription.AnnotationToken> |
getAnnotationTokens()
Returns a list of annotation tokens declared by the represented method.
|
TypePool.LazyTypeDescription.AnnotationValue<?,?> |
getDefaultValue()
Returns the default value of the represented method or
null if no such values exists. |
protected String |
getDescriptor()
Returns the descriptor of the represented method.
|
protected String[] |
getExceptionName()
Returns the internal names of the exception type declared of the represented method.
|
protected int |
getModifiers()
Returns the modifiers of the represented method.
|
protected String |
getName()
Returns the internal name of the represented method.
|
Map<Integer,List<TypePool.LazyTypeDescription.AnnotationToken>> |
getParameterAnnotationTokens()
Returns a map of parameter type indices to a list of annotation tokens representing these annotations.
|
int |
hashCode() |
String |
toString() |
protected MethodToken(int modifiers,
String name,
String descriptor,
String[] exceptionName,
List<TypePool.LazyTypeDescription.AnnotationToken> annotationTokens,
Map<Integer,List<TypePool.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens,
TypePool.LazyTypeDescription.AnnotationValue<?,?> defaultValue)
modifiers - The modifiers of the represented method.name - The internal name of the represented method.descriptor - The descriptor of the represented method.exceptionName - An array of internal names of the exceptions of the represented method
or null if there are no such exceptions.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.defaultValue - The default value of this method or null if there is no
such value.protected int getModifiers()
protected String getName()
protected String getDescriptor()
protected String[] getExceptionName()
public List<TypePool.LazyTypeDescription.AnnotationToken> getAnnotationTokens()
public Map<Integer,List<TypePool.LazyTypeDescription.AnnotationToken>> getParameterAnnotationTokens()
public TypePool.LazyTypeDescription.AnnotationValue<?,?> getDefaultValue()
null if no such values exists.null if no such values exists.Copyright © 2014. All rights reserved.