Index

A B C D E F G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages

A

accept(CallScanner.CallMatch) - Method in interface org.geysermc.conduit.asm.CallScanner.Sink
 
addContextJar(Path) - Method in class org.geysermc.conduit.ConduitContext
Adds a jar to read classes from without scanning it.
addJar(URL) - Method in class org.geysermc.conduit.asm.ConduitClassLoader
 
addJar(URL, boolean) - Method in class org.geysermc.conduit.asm.ConduitClassLoader
 
addJar(URL...) - Method in class org.geysermc.conduit.ConduitContext
Adds jars to scan.
addJar(Path) - Method in class org.geysermc.conduit.ConduitContext
Adds a jar to scan.
addNestedJars(Path, String) - Method in class org.geysermc.conduit.ConduitContext
Adds every jar directly inside a directory of another jar, such as META-INF/jars, to scan.
arg() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
The index of the argument holding the value, counted from zero.
args() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Returns the value of the args record component.
args() - Method in record class org.geysermc.conduit.Value.Constructed
Returns the value of the args record component.
args() - Method in record class org.geysermc.conduit.Value.InstanceCall
Returns the value of the args record component.
args() - Method in record class org.geysermc.conduit.Value.StaticCall
Returns the value of the args record component.
Argument - Annotation Interface in org.geysermc.conduit
Reads a conduit method from an argument of the call that built the value, or from a member of the target class under another name.
Argument.Index - Annotation Interface in org.geysermc.conduit
Reads the argument at the given index of the constructor or factory call that produced the value.
Argument.Named - Annotation Interface in org.geysermc.conduit
Looks the method up on the target class under a different name.
as(Class) - Method in record class org.geysermc.conduit.Trace
Views the returned value through a conduit.
await() - Method in class org.geysermc.conduit.VirtualMachineFactory
Returns the machine, ready to have handlers registered.
awaitUninterruptibly() - Method in class org.geysermc.conduit.VirtualMachineFactory
Returns the machine as an already completed future.

B

binaryName() - Method in record class org.geysermc.conduit.asm.ClassInfo
 

C

CallMatch(String, String, String, List) - Constructor for record class org.geysermc.conduit.asm.CallScanner.CallMatch
Creates an instance of a CallMatch record class.
calls() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
Matches calls made on the value after it was built, by method name.
calls() - Method in record class org.geysermc.conduit.Trace
Returns the value of the calls record component.
calls(String) - Method in record class org.geysermc.conduit.Trace
Filters the recorded calls down to those made to one method.
CallScanner - Class in org.geysermc.conduit.asm
 
CallScanner(ConduitClassLoader, CallScanner.Predicate, CallScanner.Sink) - Constructor for class org.geysermc.conduit.asm.CallScanner
 
CallScanner.CallMatch - Record Class in org.geysermc.conduit.asm
 
CallScanner.Predicate - Interface in org.geysermc.conduit.asm
 
CallScanner.Sink - Interface in org.geysermc.conduit.asm
 
capture(CaptureChannel, Consumer) - Method in class org.geysermc.conduit.VirtualMachine
Listens on a channel for the next VirtualMachine.execute() only.
CaptureChannel<T> - Class in org.geysermc.conduit
Hands results from an Intercept handler to whoever is listening.
captures() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the captures record component.
chain() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
Matches calls in the fluent chain that produced the value, by method name.
ClassFilter - Class in org.geysermc.conduit
ClassInfo - Record Class in org.geysermc.conduit.asm
 
ClassInfo(String, String, List) - Constructor for record class org.geysermc.conduit.asm.ClassInfo
Creates an instance of a ClassInfo record class.
classLoader() - Method in class org.geysermc.conduit.ConduitContext
The loader over every jar in the context, used to read class files.
className() - Method in record class org.geysermc.conduit.Value.Constructed
Returns the value of the className record component.
className() - Method in record class org.geysermc.conduit.Value.Field
Returns the value of the className record component.
className() - Method in record class org.geysermc.conduit.Value.InstanceCall
Returns the value of the className record component.
className() - Method in record class org.geysermc.conduit.Value.StaticCall
Returns the value of the className record component.
className() - Method in record class org.geysermc.conduit.Value.Uninitialized
Returns the value of the className record component.
className() - Method in class org.geysermc.conduit.VirtualClass
The binary name of the class, such as com.example.Color.
ClassScanner - Class in org.geysermc.conduit.asm
 
coerce(Value, Class, ClassLoader) - Static method in class org.geysermc.conduit.asm.ConduitWrapper
 
coerce(Value, Class, Type, ClassLoader) - Static method in class org.geysermc.conduit.asm.ConduitWrapper
 
coerce(Value, Class, Type, ClassLoader, List) - Static method in class org.geysermc.conduit.asm.ConduitWrapper
 
Conduit - Annotation Interface in org.geysermc.conduit
Declares an interface as a view over a class in the scanned jar.
Conduit.Bind - Annotation Interface in org.geysermc.conduit
Describes one place a conduit method's value can come from.
Conduit.Binds - Annotation Interface in org.geysermc.conduit
Container for repeated Conduit.Bind entries.
Conduit.Implementation - Annotation Interface in org.geysermc.conduit
Marks a method that returns the binary name of the class implementing this conduit's target, or null if it cannot be told.
ConduitClassLoader - Class in org.geysermc.conduit.asm
 
ConduitClassLoader(URL...) - Constructor for class org.geysermc.conduit.asm.ConduitClassLoader
 
ConduitContext - Class in org.geysermc.conduit
The set of jars Conduit reads from.
ConduitGenerator - Class in org.geysermc.conduit.generate
Generates Conduit interfaces from real classes.
ConduitGenerator(ConduitContext) - Constructor for class org.geysermc.conduit.generate.ConduitGenerator
Main constructor.
ConduitWrapper - Class in org.geysermc.conduit.asm
 
Constructed(String, List) - Constructor for record class org.geysermc.conduit.Value.Constructed
Creates an instance of a Constructed record class.
create() - Static method in class org.geysermc.conduit.CaptureChannel
Creates an empty channel.
create(ConduitContext) - Static method in class org.geysermc.conduit.VirtualMachineFactory
Creates a factory for a machine that scans the given context.

D

descriptor() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Returns the value of the descriptor record component.
descriptor() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
The JVM descriptor of the method or constructor this entry describes, such as "(FFF)V".
descriptor() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the descriptor record component.

E

emit(T) - Method in class org.geysermc.conduit.CaptureChannel
Sends an item to every listener.
equals(Object) - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.asm.ClassInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Trace
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Constructed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Field
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.InstanceCall
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Lambda
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Literal
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Multiple
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.StaticCall
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Uninitialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.geysermc.conduit.Value.Unknown
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.geysermc.conduit.VirtualClass
 
execute() - Method in class org.geysermc.conduit.VirtualMachine
Scans the context, invoking handlers as matching calls are found.
executeUninterruptibly() - Method in class org.geysermc.conduit.VirtualMachine
Runs VirtualMachine.execute() on the common pool.
extendsClass(Class) - Method in class org.geysermc.conduit.ClassFilter
Matches classes extending a class, directly or indirectly.
extendsClass(String) - Method in class org.geysermc.conduit.ClassFilter
Matches classes extending a class, directly or indirectly.

F

Field(String, String) - Constructor for record class org.geysermc.conduit.Value.Field
Creates an instance of a Field record class.
fieldName() - Method in record class org.geysermc.conduit.Value.Field
Returns the value of the fieldName record component.
filter() - Static method in class org.geysermc.conduit.ClassFilter
Creates a filter with no conditions.
from() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
Starts from an argument of this conduit's value rather than the value itself.

G

generate(String, String) - Method in class org.geysermc.conduit.generate.ConduitGenerator
Generates the source of a single conduit.
generate(String, String, Set) - Method in class org.geysermc.conduit.generate.ConduitGenerator
Generates the source of a single conduit, collecting the classes its methods refer to.
generateAll(Path, String, List) - Method in class org.geysermc.conduit.generate.ConduitGenerator
Generates a set of conduits that refer to each other.

H

hashCode() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.asm.ClassInfo
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Trace
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Constructed
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Field
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.InstanceCall
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Lambda
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Literal
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Multiple
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.StaticCall
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Uninitialized
Returns a hash code value for this object.
hashCode() - Method in record class org.geysermc.conduit.Value.Unknown
Returns a hash code value for this object.
hashCode() - Method in class org.geysermc.conduit.VirtualClass
 

I

implDescriptor() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the implDescriptor record component.
implementsInterface(Class) - Method in class org.geysermc.conduit.ClassFilter
Matches classes implementing an interface, directly or through a superclass or superinterface.
implementsInterface(String) - Method in class org.geysermc.conduit.ClassFilter
Matches classes implementing an interface, directly or through a superclass or superinterface.
implMethod() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the implMethod record component.
implOwner() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the implOwner record component.
implStatic() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the implStatic record component.
index(List) - Static method in class org.geysermc.conduit.asm.ClassScanner
 
inPackage(String) - Method in class org.geysermc.conduit.ClassFilter
Matches classes in a package or any of its subpackages.
InstanceCall(String, String, Value, List) - Constructor for record class org.geysermc.conduit.Value.InstanceCall
Creates an instance of a InstanceCall record class.
intercept(Class...) - Method in class org.geysermc.conduit.VirtualMachine
Registers intercept handlers.
Intercept - Annotation Interface in org.geysermc.conduit
Declares a class as a handler for calls the scanned code makes to an API.
Intercept.Capture - Annotation Interface in org.geysermc.conduit
Marks a static CaptureChannel field on a handler to be created when the handler is registered.
interfaces() - Method in record class org.geysermc.conduit.asm.ClassInfo
Returns the value of the interfaces record component.
isAssignableFrom(String) - Method in class org.geysermc.conduit.VirtualClass
Loads the class and checks whether it is a subtype of another.
isContextJar(URL) - Method in class org.geysermc.conduit.asm.ConduitClassLoader
 
isUnmodified(String) - Static method in class org.geysermc.conduit.generate.ConduitGenerator
Checks a generated file's checksum against its contents, to tell whether it was edited since it was generated.

K

key() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
For a Map return, the argument of each call to use as the entry's key.

L

Lambda(String, String, String, String, String, boolean, List) - Constructor for record class org.geysermc.conduit.Value.Lambda
Creates an instance of a Lambda record class.
listen(Consumer) - Method in class org.geysermc.conduit.CaptureChannel
Adds a listener until it is silenced.
literal(Object) - Static method in interface org.geysermc.conduit.Value
Wraps a constant as a value.
Literal(Object) - Constructor for record class org.geysermc.conduit.Value.Literal
Creates an instance of a Literal record class.
load(URL...) - Static method in class org.geysermc.conduit.ConduitContext
Creates a context that scans the given jars.
load(Path...) - Static method in class org.geysermc.conduit.ConduitContext
Creates a context that scans the given jars.
loader() - Method in record class org.geysermc.conduit.Trace
Returns the value of the loader record component.

M

main(String[]) - Static method in class org.geysermc.conduit.generate.ConduitGenerator
Generates conduits from the command line, the same way as ConduitGenerator.generateAll(Path, String, List).
matches(String, String, String) - Method in interface org.geysermc.conduit.asm.CallScanner.Predicate
 
Method - Annotation Interface in org.geysermc.conduit
Reads a conduit method from calls made around the value, such as a method on its class, a call made on it after it was built, or the chain that built it.
Method.Calls - Annotation Interface in org.geysermc.conduit
Matches calls with the given name made on the value after it was built.
Method.Chain - Annotation Interface in org.geysermc.conduit
Matches calls with the given name in the fluent chain that produced the value, including the static factory at its root.
Method.Index - Annotation Interface in org.geysermc.conduit
Reads the return value of a method on the target class.
methodName() - Method in record class org.geysermc.conduit.Value.InstanceCall
Returns the value of the methodName record component.
methodName() - Method in record class org.geysermc.conduit.Value.StaticCall
Returns the value of the methodName record component.
Multiple(List) - Constructor for record class org.geysermc.conduit.Value.Multiple
Creates an instance of a Multiple record class.

N

name() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Returns the value of the name record component.
name() - Method in record class org.geysermc.conduit.asm.ClassInfo
Returns the value of the name record component.
name() - Method in record class org.geysermc.conduit.Value.Lambda
Returns the value of the name record component.
not() - Method in class org.geysermc.conduit.ClassFilter
Inverts the condition added last.

O

org.geysermc.conduit - package org.geysermc.conduit
 
org.geysermc.conduit.asm - package org.geysermc.conduit.asm
 
org.geysermc.conduit.generate - package org.geysermc.conduit.generate
 
owner() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Returns the value of the owner record component.

P

producer() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
The name of the method that must have produced the value for this entry to apply, or "<init>" for a constructor.

R

reason() - Method in record class org.geysermc.conduit.Value.Unknown
Returns the value of the reason record component.
receiver() - Method in record class org.geysermc.conduit.Value.InstanceCall
Returns the value of the receiver record component.
resolve() - Method in class org.geysermc.conduit.VirtualClass
Loads the class from the context.
Resolving a method - Section in annotation interface org.geysermc.conduit.Conduit
 
returned() - Method in record class org.geysermc.conduit.Trace
Returns the value of the returned record component.

S

scanAll() - Method in class org.geysermc.conduit.asm.CallScanner
 
scanAll(ConduitClassLoader) - Static method in class org.geysermc.conduit.asm.ClassScanner
 
scanClasses(ClassFilter) - Method in class org.geysermc.conduit.ConduitContext
Lists every class in the context matching a filter, read from the class files alone.
silence(Consumer) - Method in class org.geysermc.conduit.CaptureChannel
Removes a listener.
span() - Element in annotation interface org.geysermc.conduit.Conduit.Bind
How many arguments, starting at Conduit.Bind.arg(), make up the value.
StaticCall(String, String, List) - Constructor for record class org.geysermc.conduit.Value.StaticCall
Creates an instance of a StaticCall record class.
superName() - Method in record class org.geysermc.conduit.asm.ClassInfo
Returns the value of the superName record component.

T

toString() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.asm.ClassInfo
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Trace
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Constructed
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Field
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.InstanceCall
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Lambda
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Literal
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Multiple
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.StaticCall
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Uninitialized
Returns a string representation of this record class.
toString() - Method in record class org.geysermc.conduit.Value.Unknown
Returns a string representation of this record class.
Trace - Record Class in org.geysermc.conduit
The result of evaluating a lambda or method reference, along with every instance call made while doing so.
Trace(Value, List, ClassLoader) - Constructor for record class org.geysermc.conduit.Trace
Creates an instance of a Trace record class.

U

Uninitialized(String) - Constructor for record class org.geysermc.conduit.Value.Uninitialized
Creates an instance of a Uninitialized record class.
Unknown(String) - Constructor for record class org.geysermc.conduit.Value.Unknown
Creates an instance of a Unknown record class.

V

value() - Element in annotation interface org.geysermc.conduit.Argument.Index
The index of the argument to read.
value() - Element in annotation interface org.geysermc.conduit.Argument.Named
The name to look up on the target class in place of the method's own.
value() - Element in annotation interface org.geysermc.conduit.Conduit.Binds
The repeated entries, in declaration order.
value() - Element in annotation interface org.geysermc.conduit.Conduit
The binary name of the class this conduit mirrors, such as "com.example.Color" or "com.example.Outer$Inner".
value() - Element in annotation interface org.geysermc.conduit.Intercept
The binary name of the class whose calls are intercepted.
value() - Element in annotation interface org.geysermc.conduit.Method.Calls
The name of the calls to match.
value() - Element in annotation interface org.geysermc.conduit.Method.Chain
The name of the calls to match in the chain.
value() - Element in annotation interface org.geysermc.conduit.Method.Index
The position of the method to read, in declaration order.
value() - Method in record class org.geysermc.conduit.Value.Literal
Returns the value of the value record component.
Value - Interface in org.geysermc.conduit
A value as reconstructed from bytecode, describing how it was built rather than what it is.
Value.Constructed - Record Class in org.geysermc.conduit
A constructor call, new className(args).
Value.Field - Record Class in org.geysermc.conduit
A field read that could not be resolved further.
Value.InstanceCall - Record Class in org.geysermc.conduit
An instance call, receiver.methodName(args).
Value.Lambda - Record Class in org.geysermc.conduit
A lambda or method reference, with the method it was compiled to and what it captured.
Value.Literal - Record Class in org.geysermc.conduit
A compile-time constant, such as a string or a boxed number, or null.
Value.Multiple - Record Class in org.geysermc.conduit
Every value a branching method can return.
Value.StaticCall - Record Class in org.geysermc.conduit
A static call, className.methodName(args).
Value.Uninitialized - Record Class in org.geysermc.conduit
An object between new and its constructor call.
Value.Unknown - Record Class in org.geysermc.conduit
Anything the interpreter could not reconstruct.
values() - Method in record class org.geysermc.conduit.Value.Multiple
Returns the value of the values record component.
VirtualClass - Class in org.geysermc.conduit
A class found by ConduitContext.scanClasses(ClassFilter), by name.
VirtualClass(Class, ConduitContext) - Constructor for class org.geysermc.conduit.VirtualClass
Refers to a class by its loaded type.
VirtualClass(String, ConduitContext) - Constructor for class org.geysermc.conduit.VirtualClass
Refers to a class by name, without loading it.
VirtualMachine - Class in org.geysermc.conduit
Scans every jar in a ConduitContext and dispatches matching calls to Intercept handlers.
VirtualMachineFactory - Class in org.geysermc.conduit
Creates a VirtualMachine over a ConduitContext.
A B C D E F G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages