final class MethodInternal
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MethodInternal.NameAndParameterComponentComparator |
Modifier and Type | Field and Description |
---|---|
private AnnotationInstance[] |
annotations |
(package private) static int |
BRIDGE |
private AnnotationValue |
defaultValue |
(package private) static MethodInternal[] |
EMPTY_ARRAY |
(package private) static byte[][] |
EMPTY_PARAMETER_NAMES |
private Type[] |
exceptions |
private short |
flags |
(package private) static int |
MANDATED |
private byte[] |
name |
(package private) static MethodInternal.NameAndParameterComponentComparator |
NAME_AND_PARAMETER_COMPONENT_COMPARATOR |
private byte[][] |
parameterNames |
private Type[] |
parameters |
private Type |
receiverType |
private Type |
returnType |
(package private) static int |
SYNTHETIC |
private Type[] |
typeParameters |
Constructor and Description |
---|
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type receiverType,
Type[] typeParameters,
Type[] exceptions,
AnnotationInstance[] annotations,
AnnotationValue defaultValue) |
Modifier and Type | Method and Description |
---|---|
(package private) AnnotationInstance |
annotation(DotName name) |
(package private) AnnotationInstance[] |
annotationArray() |
(package private) java.util.List<AnnotationInstance> |
annotations() |
(package private) Type[] |
copyExceptions() |
(package private) Type[] |
copyParameters() |
(package private) AnnotationValue |
defaultValue() |
boolean |
equals(java.lang.Object o) |
(package private) Type[] |
exceptionArray() |
(package private) java.util.List<Type> |
exceptions() |
(package private) short |
flags() |
(package private) boolean |
hasAnnotation(DotName name) |
int |
hashCode() |
(package private) java.lang.String |
name() |
(package private) byte[] |
nameBytes() |
(package private) Type[] |
parameterArray() |
(package private) java.lang.String |
parameterName(int i) |
(package private) byte[][] |
parameterNamesBytes() |
(package private) java.util.List<Type> |
parameters() |
(package private) Type |
receiverType(ClassInfo clazz) |
(package private) Type |
receiverTypeField() |
(package private) Type |
returnType() |
(package private) void |
setAnnotations(java.util.List<AnnotationInstance> annotations) |
(package private) void |
setDefaultValue(AnnotationValue defaultValue) |
(package private) void |
setExceptions(Type[] exceptions) |
(package private) void |
setParameterNames(byte[][] parameterNames) |
(package private) void |
setParameters(Type[] parameters) |
(package private) void |
setReceiverType(Type receiverType) |
(package private) void |
setReturnType(Type returnType) |
(package private) void |
setTypeParameters(Type[] typeParameters) |
java.lang.String |
toString() |
(package private) Type[] |
typeParameterArray() |
(package private) java.util.List<TypeVariable> |
typeParameters() |
static final int SYNTHETIC
static final int MANDATED
static final int BRIDGE
static final MethodInternal[] EMPTY_ARRAY
static final MethodInternal.NameAndParameterComponentComparator NAME_AND_PARAMETER_COMPONENT_COMPARATOR
static final byte[][] EMPTY_PARAMETER_NAMES
private byte[] name
private byte[][] parameterNames
private Type[] parameters
private Type returnType
private Type[] exceptions
private Type receiverType
private Type[] typeParameters
private AnnotationInstance[] annotations
private AnnotationValue defaultValue
private short flags
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type[] typeParameters, Type[] exceptions)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
final java.lang.String name()
final java.lang.String parameterName(int i)
final byte[] nameBytes()
final byte[][] parameterNamesBytes()
final Type[] copyParameters()
final Type[] parameterArray()
final Type[] copyExceptions()
final java.util.List<Type> parameters()
final Type returnType()
final Type receiverTypeField()
final java.util.List<Type> exceptions()
final Type[] exceptionArray()
final java.util.List<TypeVariable> typeParameters()
final java.util.List<AnnotationInstance> annotations()
final AnnotationInstance[] annotationArray()
final AnnotationInstance annotation(DotName name)
final boolean hasAnnotation(DotName name)
final Type[] typeParameterArray()
final AnnotationValue defaultValue()
final short flags()
public java.lang.String toString()
toString
in class java.lang.Object
void setTypeParameters(Type[] typeParameters)
void setParameterNames(byte[][] parameterNames)
void setParameters(Type[] parameters)
void setReturnType(Type returnType)
void setExceptions(Type[] exceptions)
void setReceiverType(Type receiverType)
void setAnnotations(java.util.List<AnnotationInstance> annotations)
void setDefaultValue(AnnotationValue defaultValue)