Uses of Class
org.jboss.jandex.MethodInfo
-
Packages that use MethodInfo Package Description org.jboss.jandex Jandex is a space efficient Java class file indexer and offline reflection library. -
-
Uses of MethodInfo in org.jboss.jandex
Fields in org.jboss.jandex declared as MethodInfo Modifier and Type Field Description private MethodInfo
MethodParameterInfo. method
private MethodInfo
MethodParamList. method
Fields in org.jboss.jandex with type parameters of type MethodInfo Modifier and Type Field Description private java.util.IdentityHashMap<MethodInfo,MethodParamList>
Indexer. methodParams
private java.util.List<MethodInfo>
Indexer. methods
Methods in org.jboss.jandex that return MethodInfo Modifier and Type Method Description MethodInfo
RecordComponentInfo. accessor()
Returns the accessor method corresponding to this record component.MethodInfo
AnnotationTarget. asMethod()
Casts and returns this target as aMethodInfo
if it is of kindMETHOD
MethodInfo
ClassInfo. asMethod()
MethodInfo
FieldInfo. asMethod()
MethodInfo
MethodInfo. asMethod()
MethodInfo
MethodParameterInfo. asMethod()
MethodInfo
RecordComponentInfo. asMethod()
MethodInfo
TypeTarget. asMethod()
MethodInfo
ClassInfo. canonicalRecordConstructor()
Returns the canonical constructor of this record.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, java.lang.String[] parameterNames, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags)
Construct a new mock Method instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.MethodInfo
MethodParameterTypeTarget. enclosingTarget()
MethodInfo
ThrowsTypeTarget. enclosingTarget()
MethodInfo
ClassInfo. firstMethod(java.lang.String name)
Retrieves the "first" occurrence of a method by the given name.MethodInfo
MethodInfoGenerator. get(int i)
MethodInfo
ClassInfo. method(java.lang.String name, java.util.List<Type> parameters)
Retrieves a method based on its signature, which includes a method name and a parameter type list.MethodInfo
ClassInfo. method(java.lang.String name, Type... parameters)
Retrieves a method based on its signature, which includes a method name and a parameter type list.MethodInfo
MethodParameterInfo. method()
Returns the method this parameter belongs to.private MethodInfo
IndexReaderV1. readMethod(ClassInfo clazz, PackedDataInputStream stream)
Methods in org.jboss.jandex that return types with arguments of type MethodInfo Modifier and Type Method Description java.util.List<MethodInfo>
ClassInfo. constructors()
Returns a list of all constructors declared in this class (which have the special name<init>
).java.util.List<MethodInfo>
ClassInfo. methods()
Returns a list of all methods declared in this class.java.util.List<MethodInfo>
ClassInfo. methodsInDeclarationOrder()
Returns a list of all methods declared in this class, in the declaration order.java.util.List<MethodInfo>
ClassInfo. unsortedMethods()
Deprecated.Methods in org.jboss.jandex with parameters of type MethodInfo Modifier and Type Method Description static MethodParameterInfo
MethodParameterInfo. create(MethodInfo method, short parameter)
Constructs a new mock method parameter infoprivate static boolean
GenericSignatureReconstruction. hasThrowsSignature(MethodInfo method)
private boolean
Indexer. isBridge(MethodInfo methodInfo)
private static boolean
Indexer. isEnumConstructor(MethodInfo method)
private boolean
Indexer. isInnerConstructor(MethodInfo method)
(package private) static java.lang.String
DescriptorReconstruction. methodDescriptor(MethodInfo method, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
static EquivalenceKey.MethodEquivalenceKey
EquivalenceKey. of(MethodInfo method)
Returns an equivalence key for given method.private void
Indexer. parseMethodSignature(java.lang.String signature, MethodInfo method)
private void
Indexer. processAnnotationDefault(java.io.DataInputStream data, MethodInfo target)
private void
Indexer. processCode(java.io.DataInputStream data, MethodInfo target)
private void
Indexer. processExceptions(java.io.DataInputStream data, MethodInfo target)
private void
Indexer. processLocalVariableTable(java.io.DataInputStream data, MethodInfo target)
private void
Indexer. processMethodParameters(java.io.DataInputStream data, MethodInfo target)
(package private) static java.lang.String
GenericSignatureReconstruction. reconstructGenericSignature(MethodInfo method, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static boolean
GenericSignatureReconstruction. requiresGenericSignature(MethodInfo method)
private boolean
Indexer. skipBridge(Indexer.TypeAnnotationState typeAnnotationState, MethodInfo method)
Method parameters in org.jboss.jandex with type arguments of type MethodInfo Modifier and Type Method Description (package private) void
ClassInfo. setMethods(java.util.List<MethodInfo> methods, NameTable names)
AnnotationTransformation.MethodBuilder
AnnotationTransformation.MethodBuilder. whenMethod(java.util.function.Predicate<MethodInfo> predicate)
Adds a predicate that tests whether the current method matches givenpredicate
.Constructors in org.jboss.jandex with parameters of type MethodInfo Constructor Description MethodParameterInfo(MethodInfo method, short position)
MethodParameterTypeTarget(MethodInfo enclosingTarget, int position)
MethodParamList(MethodInfo method)
ThrowsTypeTarget(MethodInfo enclosingTarget, int position)
-