Package org.jboss.jandex
Class MethodInternal
java.lang.Object
org.jboss.jandex.MethodInternal
The shared internal representation for MethodInfo objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AnnotationInstance[]
(package private) static final int
private AnnotationValue
(package private) static final MethodInternal[]
(package private) static final byte[][]
private Type[]
private short
(package private) static final int
private byte[]
(package private) static final MethodInternal.NameAndParameterComponentComparator
private byte[][]
private Type[]
private Type
private Type
(package private) static final int
private Type[]
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInternal
(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) -
Method Summary
Modifier and TypeMethodDescription(package private) final AnnotationInstance
annotation
(DotName name) (package private) final AnnotationInstance[]
(package private) final List
<AnnotationInstance> (package private) final Type[]
(package private) final Type[]
(package private) final AnnotationValue
boolean
(package private) final Type[]
(package private) final short
flags()
(package private) final boolean
hasAnnotation
(DotName name) int
hashCode()
(package private) final String
name()
(package private) final byte[]
(package private) final Type[]
(package private) final String
parameterName
(int i) (package private) final byte[][]
(package private) final Type
receiverType
(ClassInfo clazz) (package private) final Type
(package private) final Type
(package private) void
setAnnotations
(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) toString()
(package private) final Type[]
(package private) final List
<TypeVariable>
-
Field Details
-
SYNTHETIC
static final int SYNTHETIC- See Also:
-
MANDATED
static final int MANDATED- See Also:
-
BRIDGE
static final int BRIDGE- See Also:
-
EMPTY_ARRAY
-
NAME_AND_PARAMETER_COMPONENT_COMPARATOR
static final MethodInternal.NameAndParameterComponentComparator NAME_AND_PARAMETER_COMPONENT_COMPARATOR -
EMPTY_PARAMETER_NAMES
static final byte[][] EMPTY_PARAMETER_NAMES -
name
private byte[] name -
parameterNames
private byte[][] parameterNames -
parameters
-
returnType
-
exceptions
-
receiverType
-
typeParameters
-
annotations
-
defaultValue
-
flags
private short flags
-
-
Constructor Details
-
MethodInternal
-
MethodInternal
-
MethodInternal
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
name
-
parameterName
-
nameBytes
final byte[] nameBytes() -
parameterNamesBytes
final byte[][] parameterNamesBytes() -
copyParameters
-
parameterArray
-
copyExceptions
-
parameters
-
returnType
-
receiverType
-
receiverTypeField
-
exceptions
-
exceptionArray
-
typeParameters
-
annotations
-
annotationArray
-
annotation
-
hasAnnotation
-
typeParameterArray
-
defaultValue
-
flags
final short flags() -
toString
-
setTypeParameters
-
setParameterNames
void setParameterNames(byte[][] parameterNames) -
setParameters
-
setReturnType
-
setExceptions
-
setReceiverType
-
setAnnotations
-
setDefaultValue
-