Index
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
argsrecord component. - args() - Method in record class org.geysermc.conduit.Value.Constructed
-
Returns the value of the
argsrecord component. - args() - Method in record class org.geysermc.conduit.Value.InstanceCall
-
Returns the value of the
argsrecord component. - args() - Method in record class org.geysermc.conduit.Value.StaticCall
-
Returns the value of the
argsrecord 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
CallMatchrecord 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
callsrecord 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
Intercepthandler to whoever is listening. - captures() - Method in record class org.geysermc.conduit.Value.Lambda
-
Returns the value of the
capturesrecord 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
-
Selects classes for
ConduitContext.scanClasses(ClassFilter). - 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
ClassInforecord 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
classNamerecord component. - className() - Method in record class org.geysermc.conduit.Value.Field
-
Returns the value of the
classNamerecord component. - className() - Method in record class org.geysermc.conduit.Value.InstanceCall
-
Returns the value of the
classNamerecord component. - className() - Method in record class org.geysermc.conduit.Value.StaticCall
-
Returns the value of the
classNamerecord component. - className() - Method in record class org.geysermc.conduit.Value.Uninitialized
-
Returns the value of the
classNamerecord 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.Bindentries. - 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
nullif 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
Conduitinterfaces 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
Constructedrecord 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
descriptorrecord 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
descriptorrecord 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
Fieldrecord class. - fieldName() - Method in record class org.geysermc.conduit.Value.Field
-
Returns the value of the
fieldNamerecord 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
implDescriptorrecord 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
implMethodrecord component. - implOwner() - Method in record class org.geysermc.conduit.Value.Lambda
-
Returns the value of the
implOwnerrecord component. - implStatic() - Method in record class org.geysermc.conduit.Value.Lambda
-
Returns the value of the
implStaticrecord 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
InstanceCallrecord 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
CaptureChannelfield 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
interfacesrecord 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
Mapreturn, 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
Lambdarecord 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
Literalrecord 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
loaderrecord 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
methodNamerecord component. - methodName() - Method in record class org.geysermc.conduit.Value.StaticCall
-
Returns the value of the
methodNamerecord component. - Multiple(List) - Constructor for record class org.geysermc.conduit.Value.Multiple
-
Creates an instance of a
Multiplerecord class.
N
- name() - Method in record class org.geysermc.conduit.asm.CallScanner.CallMatch
-
Returns the value of the
namerecord component. - name() - Method in record class org.geysermc.conduit.asm.ClassInfo
-
Returns the value of the
namerecord component. - name() - Method in record class org.geysermc.conduit.Value.Lambda
-
Returns the value of the
namerecord 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
ownerrecord 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
reasonrecord component. - receiver() - Method in record class org.geysermc.conduit.Value.InstanceCall
-
Returns the value of the
receiverrecord 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
returnedrecord 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
StaticCallrecord class. - superName() - Method in record class org.geysermc.conduit.asm.ClassInfo
-
Returns the value of the
superNamerecord 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
Tracerecord class.
U
- Uninitialized(String) - Constructor for record class org.geysermc.conduit.Value.Uninitialized
-
Creates an instance of a
Uninitializedrecord class. - Unknown(String) - Constructor for record class org.geysermc.conduit.Value.Unknown
-
Creates an instance of a
Unknownrecord 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
valuerecord 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
newand 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
valuesrecord 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
ConduitContextand dispatches matching calls toIntercepthandlers. - VirtualMachineFactory - Class in org.geysermc.conduit
-
Creates a
VirtualMachineover aConduitContext.
W
- withTypeArgument(Object, String) - Static method in class org.geysermc.conduit.asm.ConduitWrapper
All Classes and Interfaces|All Packages