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 TypeClassDescriptionprivate static final class
private static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Type[]
(package private) static final MethodInternal[]
(package private) static final byte[][]
private Type[]
private MethodInternal.ExtraInfo
private short
private byte[]
(package private) static final MethodInternal.NameAndParameterComponentComparator
private byte[][]
private Type[]
private Type
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags) MethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type[] typeParameters, Type[] exceptions) MethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameterTypes, 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
(package private) final Type[]
boolean
(package private) final Type[]
(package private) final short
flags()
(package private) final boolean
hasAnnotation
(DotName name) int
hashCode()
(package private) boolean
(package private) int
(package private) final String
name()
(package private) final byte[]
(package private) final String
parameterName
(int i) (package private) final byte[][]
(package private) final int
(package private) final Type[]
(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
setParameterTypes
(Type[] parameterTypes) (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
-
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 -
parameterTypes
-
returnType
-
exceptions
-
flags
private short flags -
extra
-
descriptorParameterTypes
-
-
Constructor Details
-
MethodInternal
-
MethodInternal
-
MethodInternal
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
internEquals
-
internHashCode
int internHashCode() -
name
-
parametersCount
final int parametersCount() -
parameterName
-
nameBytes
final byte[] nameBytes() -
parameterNamesBytes
final byte[][] parameterNamesBytes() -
copyParameterTypes
-
parameterTypesArray
-
copyExceptions
-
parameterTypes
-
descriptorParameterTypes
-
descriptorParameterTypesArray
-
returnType
-
receiverType
-
receiverTypeField
-
exceptions
-
exceptionArray
-
typeParameters
-
annotations
-
annotationArray
-
annotation
-
hasAnnotation
-
typeParameterArray
-
defaultValue
-
flags
final short flags() -
toString
-
setTypeParameters
-
setParameterNames
void setParameterNames(byte[][] parameterNames) -
setParameterTypes
-
setReturnType
-
setExceptions
-
setReceiverType
-
setAnnotations
-
setDefaultValue
-