Uses of Class
org.jboss.jandex.MethodInfo
Packages that use MethodInfo
Package
Description
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 MethodInfoModifier and TypeFieldDescriptionprivate final MethodInfo
MethodParameterInfo.method
private final MethodInfo
MethodParamList.method
Fields in org.jboss.jandex with type parameters of type MethodInfoModifier and TypeFieldDescriptionprivate IdentityHashMap
<MethodInfo, MethodParamList> Indexer.methodParams
private List
<MethodInfo> Indexer.methods
Methods in org.jboss.jandex that return MethodInfoModifier and TypeMethodDescriptionfinal MethodInfo
RecordComponentInfo.accessor()
Returns the accessor method corresponding to this record component.AnnotationTarget.asMethod()
Casts and returns this target as aMethodInfo
if it is of kindMETHOD
ClassInfo.asMethod()
final MethodInfo
FieldInfo.asMethod()
final MethodInfo
MethodInfo.asMethod()
final MethodInfo
MethodParameterInfo.asMethod()
final MethodInfo
RecordComponentInfo.asMethod()
final MethodInfo
TypeTarget.asMethod()
ClassInfo.canonicalRecordConstructor()
Returns the canonical constructor of this record.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, String[] parameterNames, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, Type[] parameterTypes, Type returnType, short flags) Construct a new mock Method instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.MethodParameterTypeTarget.enclosingTarget()
ThrowsTypeTarget.enclosingTarget()
final MethodInfo
ClassInfo.firstMethod
(String name) Retrieves the "first" occurrence of a method by the given name.MethodInfoGenerator.get
(int i) final MethodInfo
Retrieves a method based on its signature, which includes a method name and a parameter type list.final MethodInfo
Retrieves a method based on its signature, which includes a method name and a parameter type list.final 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 MethodInfoModifier and TypeMethodDescriptionfinal List
<MethodInfo> ClassInfo.constructors()
Returns a list of all constructors declared in this class (which have the special name<init>
).final List
<MethodInfo> ClassInfo.methods()
Returns a list of all methods declared in this class.final List
<MethodInfo> ClassInfo.methodsInDeclarationOrder()
Returns a list of all methods declared in this class, in the declaration order.final List
<MethodInfo> ClassInfo.unsortedMethods()
Deprecated.Methods in org.jboss.jandex with parameters of type MethodInfoModifier and TypeMethodDescriptionstatic 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 String
DescriptorReconstruction.methodDescriptor
(MethodInfo method, Function<String, Type> typeVariableSubstitution) EquivalenceKey.of
(MethodInfo method) Returns an equivalence key for given method.private void
Indexer.parseMethodSignature
(String signature, MethodInfo method) private void
Indexer.processAnnotationDefault
(DataInputStream data, MethodInfo target) private void
Indexer.processCode
(DataInputStream data, MethodInfo target) private void
Indexer.processExceptions
(DataInputStream data, MethodInfo target) private void
Indexer.processLocalVariableTable
(DataInputStream data, MethodInfo target) private void
Indexer.processMethodParameters
(DataInputStream data, MethodInfo target) (package private) static String
GenericSignatureReconstruction.reconstructGenericSignature
(MethodInfo method, Function<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 MethodInfoModifier and TypeMethodDescription(package private) void
ClassInfo.setMethods
(List<MethodInfo> methods, NameTable names) AnnotationTransformation.MethodBuilder.whenMethod
(Predicate<MethodInfo> predicate) Adds a predicate that tests whether the current method matches givenpredicate
.Constructors in org.jboss.jandex with parameters of type MethodInfoModifierConstructorDescription(package private)
MethodParameterInfo
(MethodInfo method, short position) (package private)
MethodParameterTypeTarget
(MethodInfo enclosingTarget, int position) (package private)
MethodParamList
(MethodInfo method) (package private)
ThrowsTypeTarget
(MethodInfo enclosingTarget, int position)
ClassInfo.methodsInDeclarationOrder()