Index
All Classes and Interfaces|All Packages
A
- ABSTRACT - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marked or implicitly
abstractin the source code. - add() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction to add two numbers on the stack.
- add(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.AnnotationArrayBuilder
-
Adds annotation to the array being built.
- add(Type) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.ArrayBuilder
-
Adds given value to the value array.
- add(Type, Type...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.ArrayBuilder
-
Adds all given values to the value array.
- addAnnotation(String, JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds annotation value to the annotation being built.
- addBoolean(boolean) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addBoolean(String, boolean) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
booleanvalue to the annotation being built. - addBooleans(String, boolean...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
boolean[]value to the annotation being built. - addByte(byte) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addByte(String, byte) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
bytevalue to the annotation being built. - addBytes(String, byte...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
byte[]value to the annotation being built. - addChar(char) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addChar(String, char) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
charvalue to the annotation being built. - addChars(String, char...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
char[]value to the annotation being built. - addClass(String, Class<?>) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds class value to the annotation being built.
- addClass(String, JvmClassOrArray) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds class value to the annotation being built.
- addClass(String, JvmTypeOrVoid) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds class value to the annotation being built.
- addClass(JvmClassOrArray) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addDouble(double) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addDouble(String, double) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
doublevalue to the annotation being built. - addDoubles(String, double...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
double[]value to the annotation being built. - addDynamicConstant(JvmDynamicConstant) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addEnum(String, Enum<?>) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds enum constant value to the annotation being built.
- addEnum(String, EnumValue) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds enum constant value to the annotation being built.
- addEnum(String, JvmClass, String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds enum constant value to the annotation being built.
- addFloat(float) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addFloat(String, float) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
floatvalue to the annotation being built. - addFloats(String, float...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
float[]value to the annotation being built. - addInt(int) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addInt(String, int) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
intvalue to the annotation being built. - addInts(String, int...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
int[]value to the annotation being built. - addLong(long) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addLong(String, long) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
longvalue to the annotation being built. - addLongs(String, long...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
long[]value to the annotation being built. - addMethodHandle(JvmMethodHandle) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addMethodType(JvmMethodDescriptor) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addShort(short) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addShort(String, short) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
shortvalue to the annotation being built. - addShorts(String, short...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
short[]value to the annotation being built. - addString(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Adds given value to the arguments of a bootstrap method.
- addString(String, String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
Stringvalue to the annotation being built. - addStrings(String, String...) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Adds
String[]value to the annotation being built. - and() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction for bitwise AND of two values on the stack.
- annotated(JvmAnnotation) - Method in interface me.sbasalaev.tybyco.descriptors.JvmAnnotated
-
This type with the given annotation added.
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- annotated(JvmAnnotation) - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- annotation(JvmAnnotation) - Method in interface me.sbasalaev.tybyco.builders.ElementBuilder
-
Adds given annotation to this element.
- ANNOTATION - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Annotation interface.
- ANNOTATION(String) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Annotation class with given qualified name.
- annotationClass() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Class of this annotation.
- annotations() - Method in interface me.sbasalaev.tybyco.descriptors.JvmAnnotated
-
Type annotations applied directly to this type.
- annotations() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
- annotations() - Method in class me.sbasalaev.tybyco.descriptors.JvmWildcard
- append(JvmType...) - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Returns method descriptor with given argument types added at the end.
- arguments() - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
Static arguments passed to the bootstrap method.
- argumentTypes() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Types of the arguments of this method.
- ARRAY(JvmType) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Array type with given component.
- ARRAY(JvmType, int) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Array type with given component and dimensions.
- arrayLength() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
arraylengthinstruction. - arrayLoad(JvmType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate
*aloadinstruction. - arrayStore(JvmType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate
*astoreinstruction. - at(Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBuilder
-
Marks current position in the code as the target.
- athrow() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
athrowinstruction and ends the current block of code. - atLeast(JavaVersion) - Method in enum class me.sbasalaev.tybyco.JavaVersion
-
Whether this version is the same or higher than given version.
- atTryCatch(Target, Target, List<JvmClassType>) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Marks current position as the start of try/catch block for given exception types.
- atTryCatch(Target, Target, JvmClassType...) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Marks current position as the start of try/catch block for given exception types.
B
- binaryName() - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
- binaryName() - Method in interface me.sbasalaev.tybyco.descriptors.JvmClassOrArray
-
Binary name of the class, interface or array represented by this reference.
- binaryName() - Method in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
- binaryName() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceArray
- BOOLEAN - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- BOOLEAN - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
booleantype. - BOOLEAN - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
booleantype with no type annotations. - BOOLEAN_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
boolean[]. - bootstrap() - Method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
The bootstrap method used to initialize the constant.
- BRIDGE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
A bridge method generated by compiler.
- build() - Method in class me.sbasalaev.tybyco.Tybyco.Builder
-
Returns
Tybycoinstance with given options. - build(Class<?>) - Static method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Returns builder to construct composite annotation.
- build(String, JvmType, JvmMethodHandle) - Static method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
Builds arguments to a bootstrap method of a dynamic constant.
- build(JvmClass, boolean) - Static method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Returns builder to construct composite annotation.
- build(JvmMethodHandle) - Static method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
Builds arguments for a bootstrap method.
- buildClass(JvmClass, Traversable<Mod>) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder to build a class with given name.
- buildClass(JvmClass, Mod...) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder to build a class with given name.
- buildInterface(JvmClass, Traversable<Mod>) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder to build an interface or an annotation with given name.
- buildInterface(JvmClass, Mod...) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder to build an interface or an annotation with given name.
- buildModule(String, Opt<String>, Traversable<Mod>) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder for a module with given name and version.
- buildModule(String, Opt<String>, Mod...) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder for a module with given name and version.
- buildPackage(String) - Method in class me.sbasalaev.tybyco.Tybyco
-
Returns a builder for a package-info file.
- BYTE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- BYTE - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
bytetype. - BYTE - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
bytetype with no type annotations. - BYTE_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
byte[].
C
- CHAR - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- CHAR - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
chartype. - CHAR - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
chartype with no type annotations. - CHAR_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
char[]. - checkCast(JvmClassOrArray) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
checkcastinstruction. - CLASS - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Regular class.
- CLASS(Class<?>) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Class or interface reference corresponding to given runtime class.
- CLASS(String) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Class with given qualified name.
- ClassBuilder<Self> - Interface in me.sbasalaev.tybyco.builders
-
Builder of a class.
- ClassfileBuilder<Self> - Interface in me.sbasalaev.tybyco.builders
-
Common interface for builders that produce class files.
- classKind() - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Kind of this class.
- ClassKind - Enum Class in me.sbasalaev.tybyco.descriptors
-
Kind of a class represented by
JvmClass. - className() - Method in record class me.sbasalaev.tybyco.CompiledClass
-
Returns the value of the
classNamerecord component. - className() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- className() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- className() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceType
-
Unparameterized class or array represented by this type.
- className() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
-
Class name of the upper bound to this type variable.
- ClassOrInterfaceBuilder<Self> - Interface in me.sbasalaev.tybyco.builders
-
Builder of a class or interface.
- close(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Removes given variable from the scope of this method.
- Cmp - Enum Class in me.sbasalaev.tybyco.builders
-
Comparison result.
- code() - Method in record class me.sbasalaev.tybyco.CompiledClass
-
Returns the value of the
coderecord component. - code(String...) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Builds code for this method or constructor.
- code(List<String>) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Builds code for this method or constructor.
- CodeBlockBuilder<Result> - Interface in me.sbasalaev.tybyco.builders
-
Builder of a code block of a method or constructor.
- CodeBuilder<Result> - Interface in me.sbasalaev.tybyco.builders
-
Builder of the code section of a method or a constructor.
- CompiledClass - Record Class in me.sbasalaev.tybyco
-
Class bytecode produced by a classfile builder.
- CompiledClass(JvmClass, byte[]) - Constructor for record class me.sbasalaev.tybyco.CompiledClass
-
Creates an instance of a
CompiledClassrecord class. - componentClass() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceArray
-
Class of the components of this array.
- componentType() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
-
Type of the array components.
- componentType() - Method in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Type of the components of this array.
- constant(String, Object, Traversable<Mod>) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns a builder for a compile-type constant field of this class.
- constant(String, Object, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns a builder for a compile-type constant field of this class.
- constructor(JvmMethodDescriptor, Traversable<Mod>) - Method in interface me.sbasalaev.tybyco.builders.ClassBuilder
-
Returns builder for the constructor of this class.
- constructor(JvmMethodDescriptor, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ClassBuilder
-
Returns builder for the constructor of this class.
- CONSTRUCTOR - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Reference to a constructor.
D
- debugExtension(String) - Method in interface me.sbasalaev.tybyco.builders.ClassfileBuilder
-
Adds debug extension string to this class.
- DEPRECATED - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Element that the programmers are discouraged to use.
- descriptor() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Descriptor of the referenced member.
- divide() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction to divide two numbers on the stack.
- DOUBLE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- DOUBLE - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
doubletype. - DOUBLE - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
doubletype with no type annotations. - DOUBLE_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
double[]. - dropFirst() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Returns method descriptor with the first argument removed.
- dup() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes an instruction that duplicates the topmost value from the stack.
E
- ElementBuilder<Self,
Result> - Interface in me.sbasalaev.tybyco.builders -
Common interface for builders of elements of Java language.
- enclosing() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Enclosing class type of an instance member type.
- enclosingClass() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Class that encloses this class.
- enclosingClass(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Writes the immediately enclosing class of this class.
- enclosingConstructor(JvmClass, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Writes the immediately enclosing constructor of this class.
- enclosingMethod(JvmClass, String, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Writes the immediately enclosing method of this class.
- end() - Method in interface me.sbasalaev.tybyco.builders.CodeBuilder
-
Finishes writing the code and returns the enclosing builder.
- end() - Method in interface me.sbasalaev.tybyco.builders.ElementBuilder
-
Finishes building current element.
- end() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.AnnotationArrayBuilder
-
Adds array of values to the outer builder and returns it.
- end() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.ArrayBuilder
-
Adds array of values to the outer builder and returns it.
- end() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Builds annotation and returns the original caller.
- end() - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
- entries() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Key-value pairs of this annotation.
- ENUM - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Enum class.
- ENUM(String) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Enum class with given qualified name.
- enumClass() - Method in record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Returns the value of the
enumClassrecord component. - enumConst() - Method in record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Returns the value of the
enumConstrecord component. - EnumValue - Record Class in me.sbasalaev.tybyco.descriptors
-
Enumeration class and value.
- EnumValue(JvmClass, String) - Constructor for record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Creates an instance of a
EnumValuerecord class. - EQ - Enum constant in enum class me.sbasalaev.tybyco.builders.Cmp
-
The operands are equal.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Whether given object is equal to this annotation.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
Whether given object equals this bootstrap method.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Whether given object is equal to this method descriptor.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Whether given object equals this handle.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceArray
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
-
Whether given object is equal to this type.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- equals(Object) - Method in record class me.sbasalaev.tybyco.CompiledClass
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in interface me.sbasalaev.tybyco.descriptors.JvmClassOrArray
-
Whether this class or array name is equal to given object.
- equals(Object) - Method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
Whether given object equals this dynamic constant.
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassOrArrayType
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
The descriptor with erased types.
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceType
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmType
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
-
Non-generic erasure of this type.
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- erasure() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- exception(JvmClassType) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Adds thrown exception to the signature of this method.
- exception(JvmTypeVariable) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Adds thrown exception to the signature of this method.
- exports(String, String...) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds exports directive.
- exports(String, List<String>, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds exports directive.
- EXTENDS(JvmReferenceType) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Extends wildcard with given upper bound.
F
- field(String, JvmType, Traversable<Mod>) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns a builder for a field of this class.
- field(String, JvmType, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns a builder for a field of this class.
- FieldBuilder<Result> - Interface in me.sbasalaev.tybyco.builders
-
Builder for a field.
- FINAL - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marked or implicitly final in the source code.
- FLOAT - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- FLOAT - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
floattype. - FLOAT - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
floattype with no type annotations. - FLOAT_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
float[].
G
- GE - Enum constant in enum class me.sbasalaev.tybyco.builders.Cmp
-
The first operand is greater than or equal to the second.
- GenericElementBuilder<Self,
Result> - Interface in me.sbasalaev.tybyco.builders -
Common interface for builders of generic elements of Java language.
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- genericString() - Method in interface me.sbasalaev.tybyco.descriptors.JvmTypeArgument
-
Generic type or wildcard signature.
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
-
Generic signature of this type.
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- genericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- getDefault() - Static method in class me.sbasalaev.tybyco.Tybyco
-
Returns a
Tybycoinstance with the default settings. - getInstanceField(JvmClass, String, JvmType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
getfieldinstruction. - getStaticField(JvmClass, String, JvmType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
getstaticinstruction. - GT - Enum constant in enum class me.sbasalaev.tybyco.builders.Cmp
-
The first operand is greater than the second.
H
- handle() - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
Handle to a method called for the bootstrap.
- hashCode() - Method in record class me.sbasalaev.tybyco.CompiledClass
-
Returns a hash code value for this object.
- hashCode() - Method in record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Returns a hash code value for this object.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Hash code of this annnotation.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
The hash code for this bootstrap method.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
- hashCode() - Method in interface me.sbasalaev.tybyco.descriptors.JvmClassOrArray
-
Hash code of this class name.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
The hash code for the constant.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
The hash code for this handle.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceArray
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
-
Hash code for this type.
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- hashCode() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
I
- iinc(LocalVar, short) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes instruction that changes value of given local variable by given increment.
- INSTANCE - Static variable in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
-
Instance of the class without annotations.
- INSTANCE - Static variable in class me.sbasalaev.tybyco.descriptors.JvmVoid
-
Instance of the class without annotations.
- INSTANCE_FIELD_GETTER - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Instance field getter reference.
- INSTANCE_FIELD_SETTER - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Instance field setter reference.
- instanceOf(JvmClassOrArray) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
instanceofinstruction. - INT - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- INT - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
inttype. - INT - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
inttype with no type annotations. - INT_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
int[]. - INTERFACE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Interface but not an annotation.
- INTERFACE(String) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Interface with given qualified name.
- invokeConstructor(JvmClass, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes call to a constructor of a class.
- invokeDynamic(String, JvmMethodDescriptor, JvmBootstrapMethod) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
invokedynamicinstruction. - invokePrivate(JvmClass, String, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes call to a private instance method of a superclass or superinterface.
- invokespecial and invokeinterface - Search tag in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
- Section
- invokeStatic(JvmClass, String, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes call to a static method of a class or interface.
- invokeSuper(JvmClass, String, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes call to an instance method of a superclass or direct superinterface.
- invokeVirtual(JvmClass, String, JvmMethodDescriptor) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes call to a non-private instance method of a class or interface.
- isAnonymous() - Method in class me.sbasalaev.tybyco.builders.LocalVar
-
Whether this variable has no name.
- isAnonymous() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Whether this class is anonymous.
- isDeeplyAnnotated() - Method in interface me.sbasalaev.tybyco.descriptors.JvmAnnotated
-
Whether this type or its components have any annotations.
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- isDeeplyAnnotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmDescriptor
-
Whether the signature for the descriptor has generic elements.
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- isGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- isInstanceMember() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Whether this is an instance member class.
- isInterface() - Method in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Whether this kind of classes is represented by an interface.
- isLocal() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Whether this class is local.
- isMember() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Whether this is a member class.
- isRuntimeVisible() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Whether this annotation will be visible by runtime reflection.
J
- JavaVersion - Enum Class in me.sbasalaev.tybyco
-
Supported Java versions.
- jump(Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes unconditional jump and ends the current block of code.
- jumpIf(boolean, Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes conditional jump on
booleanvalue. - jumpIfCmp(Cmp, Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes conditional jump on comparison.
- jumpIfCmpNull(Cmp, Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes conditional jump on comparison with
null. - jumpIfCmpZero(Cmp, Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes conditional jump on comparison with integer zero.
- jumpSwitch(Map<Integer, Target>, Target) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes switch instruction and ends the current block of code.
- Jvm - Class in me.sbasalaev.tybyco.descriptors
-
Static methods and constants to build descriptors.
- JVM_CLASS - Static variable in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Class name for
java.lang.Class. - JVM_OBJECT - Static variable in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Class name for
java.lang.Object. - JVM_STRING - Static variable in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Class name for
java.lang.String. - JvmAnnotated - Interface in me.sbasalaev.tybyco.descriptors
-
Annotated type or wildcard.
- JvmAnnotation - Class in me.sbasalaev.tybyco.descriptors
-
Represents Java annotation that may be applied to a type or declaration.
- JvmAnnotation.AnnotationArrayBuilder<Outer> - Class in me.sbasalaev.tybyco.descriptors
-
Builder of arrays of annotation values.
- JvmAnnotation.ArrayBuilder<Outer,
Type> - Class in me.sbasalaev.tybyco.descriptors -
Builder of arrays of primitive values.
- JvmAnnotation.Builder<T> - Class in me.sbasalaev.tybyco.descriptors
-
Builder of annotation values.
- JvmArray - Interface in me.sbasalaev.tybyco.descriptors
-
Reference to an array class.
- JvmArrayType - Class in me.sbasalaev.tybyco.descriptors
-
Type of the Java array.
- JvmArrayType(JvmType) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmArrayType
-
Constructs new array type with given component type.
- JvmArrayType(JvmType, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmArrayType
-
Constructs new array type with given component type.
- JvmBootstrapMethod - Class in me.sbasalaev.tybyco.descriptors
-
Represents a bootstrap method.
- JvmBootstrapMethod(JvmMethodHandle, List<Object>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
Creates new bootstrap method with given handle and arguments.
- JvmBootstrapMethod.Builder<Result> - Class in me.sbasalaev.tybyco.descriptors
-
Typesafe builder of arguments of a bootstrap method.
- JvmClass - Class in me.sbasalaev.tybyco.descriptors
-
Reference to a class or interface.
- JvmClassOrArray - Interface in me.sbasalaev.tybyco.descriptors
-
Reference to a class, interface or array.
- JvmClassOrArrayType - Class in me.sbasalaev.tybyco.descriptors
-
Type of Java class or array.
- JvmClassType - Class in me.sbasalaev.tybyco.descriptors
-
Parameterized class type.
- JvmClassType(JvmClass) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the non-member class without type arguments.
- JvmClassType(JvmClass, List<JvmTypeArgument>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the non-member class with given type arguments.
- JvmClassType(JvmClass, List<JvmTypeArgument>, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the non-member class with given type arguments and annotations.
- JvmClassType(JvmClass, JvmTypeArgument...) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the non-member class with given type arguments.
- JvmDescriptor - Class in me.sbasalaev.tybyco.descriptors
-
Descriptor of a field or a method.
- JvmDynamicConstant - Class in me.sbasalaev.tybyco.descriptors
-
A constant the value of which is calculated at runtime.
- JvmDynamicConstant(String, JvmType, JvmBootstrapMethod) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
Creates new dynamic constant.
- JvmExtendsWildcard - Class in me.sbasalaev.tybyco.descriptors
-
Java extends wildcard bound.
- JvmExtendsWildcard(JvmReferenceType) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
-
Constructs extends wildcard without annotations.
- JvmExtendsWildcard(JvmReferenceType, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
-
Constructs extends wildcard with given annotations.
- JvmMethodDescriptor - Class in me.sbasalaev.tybyco.descriptors
-
Descriptor of a Java method or constructor.
- JvmMethodDescriptor(JvmTypeOrVoid, List<JvmType>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Creates new method descriptor with given argument and return types.
- JvmMethodDescriptor(JvmTypeOrVoid, JvmType...) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Creates new method descriptor with given argument and return types.
- JvmMethodHandle - Class in me.sbasalaev.tybyco.descriptors
-
Reference to a method, constructor, field getter or setter.
- JvmMethodHandle.Kind - Enum Class in me.sbasalaev.tybyco.descriptors
-
Kind of a
JvmHandle. - JvmNestedClass - Class in me.sbasalaev.tybyco.descriptors
-
Name and attributes for a nested, member, local or anonymous class.
- JvmPrimitiveArray - Enum Class in me.sbasalaev.tybyco.descriptors
-
Reference to an array of primitive values.
- JvmPrimitiveType - Class in me.sbasalaev.tybyco.descriptors
-
Primitive JVM type.
- JvmPrimitiveType(TypeKind, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Constructor for primitive type with annotations.
- JvmReferenceArray - Class in me.sbasalaev.tybyco.descriptors
-
Array of reference types.
- JvmReferenceArray(JvmClassOrArray) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmReferenceArray
-
Constructs
JvmReferenceArraywith components of given class. - JvmReferenceType - Class in me.sbasalaev.tybyco.descriptors
-
Reference JVM type.
- JvmSuperWildcard - Class in me.sbasalaev.tybyco.descriptors
-
Java super wildcard bound.
- JvmSuperWildcard(JvmReferenceType) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
-
Constructs super wildcard without annotations.
- JvmSuperWildcard(JvmReferenceType, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
-
Constructs super wildcard with given annotations.
- JvmTopLevelClass - Class in me.sbasalaev.tybyco.descriptors
-
Name of a top-level class, package-info or module-info.
- JvmTopLevelClass(ClassKind, String) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmTopLevelClass
-
Constructs new top-level class reference.
- JvmType - Class in me.sbasalaev.tybyco.descriptors
-
Type of a class, field or local variable.
- JvmTypeArgument - Interface in me.sbasalaev.tybyco.descriptors
-
Descriptor of a type argument to the class.
- JvmTypeOrVoid - Class in me.sbasalaev.tybyco.descriptors
-
Descriptor and signature of a type or of a
voidpseudotype. - JvmTypeVariable - Class in me.sbasalaev.tybyco.descriptors
-
Java type variable.
- JvmTypeVariable(String) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
-
Constructs new type variable bounded by
java.lang.Object. - JvmTypeVariable(String, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
-
Constructs new type variable bounded by
java.lang.Object. - JvmTypeVariable(String, JvmClass) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
-
Constructs new type variable bounded by given class.
- JvmTypeVariable(String, JvmClass, List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
-
Constructs new type variable bounded by given class.
- JvmUnboundedWildcard - Class in me.sbasalaev.tybyco.descriptors
-
Unbounded JVM wildcard.
- JvmUnboundedWildcard(List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
-
Constructs new unbounded wildcard with given annotations.
- JvmVoid - Class in me.sbasalaev.tybyco.descriptors
-
The pseudotype for
void. - JvmVoid(List<JvmAnnotation>) - Constructor for class me.sbasalaev.tybyco.descriptors.JvmVoid
-
Constructs JvmVoid with given annotations.
- JvmWildcard - Class in me.sbasalaev.tybyco.descriptors
-
Wildcard in the type argument of the class.
K
- keyword() - Method in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Keyword used to declare classes of this kind.
- keyword() - Method in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Java keyword corresponding to this modifier.
- kind() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
- kind() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- kind() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceType
- kind() - Method in class me.sbasalaev.tybyco.descriptors.JvmType
-
JVM category of the type.
L
- latest() - Static method in enum class me.sbasalaev.tybyco.JavaVersion
-
Returns the latest supported target Java version.
- LE - Enum constant in enum class me.sbasalaev.tybyco.builders.Cmp
-
The first operand is less than or equal to the second.
- lineNumber(int) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Marks source line number corresponding to the subsequent instructions.
- load(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes instruction that loads value of the local variable on the stack.
- LocalVar - Class in me.sbasalaev.tybyco.builders
-
Local variable in the code of a method or constructor.
- LocalVar(String, JvmType) - Constructor for class me.sbasalaev.tybyco.builders.LocalVar
-
Creates new local variable with given name and type.
- LocalVar(JvmType) - Constructor for class me.sbasalaev.tybyco.builders.LocalVar
-
Creates new anonymous local variable with given type.
- LONG - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- LONG - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
longtype. - LONG - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
longtype with no type annotations. - LONG_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
long[]. - LT - Enum constant in enum class me.sbasalaev.tybyco.builders.Cmp
-
The first operand is less than the second.
M
- mainClass(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Sets main class of this module.
- MANDATED - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Implicitely declared in the source.
- me.sbasalaev.tybyco - module me.sbasalaev.tybyco
-
Typesafe generator of Java bytecode.
- me.sbasalaev.tybyco - package me.sbasalaev.tybyco
-
Tybycois a main entry point to build a class file. - me.sbasalaev.tybyco.builders - package me.sbasalaev.tybyco.builders
-
Builders for class elements.
- me.sbasalaev.tybyco.descriptors - package me.sbasalaev.tybyco.descriptors
-
Descriptors for Java classes, types and methods.
- method(String, JvmMethodDescriptor, Traversable<Mod>) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns builder for the method of this class.
- method(String, JvmMethodDescriptor, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns builder for the method of this class.
- METHOD(JvmTypeOrVoid, JvmType...) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Method descriptor with given return type and argument types.
- MethodBuilder<Result> - Interface in me.sbasalaev.tybyco.builders
-
Builder of a method or constuctor.
- Mod - Enum Class in me.sbasalaev.tybyco.descriptors
-
Access modifier for Java element.
- modifiers() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Modifiers of this class.
- MODULE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Module info class.
- MODULE_INFO - Static variable in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Class name for module descriptor class.
- ModuleBuilder - Interface in me.sbasalaev.tybyco.builders
-
Builder of module-info class file.
- monitorEnter() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
monitorenterinstruction. - monitorExit() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
monitorexitinstruction. - multiply() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction to multiply two numbers on the stack.
N
- name() - Method in class me.sbasalaev.tybyco.builders.LocalVar
-
The name of the variable.
- name() - Method in class me.sbasalaev.tybyco.builders.Target
- name() - Method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
The name of the constant.
- name() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Name of the referenced member.
- name() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
-
Name of this type variable.
- NATIVE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Declared
native. - NE - Enum constant in enum class me.sbasalaev.tybyco.builders.Cmp
-
The operands are not equal.
- negate() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction to negate the number on the stack.
- nestHost(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Writes the nest host of the class.
- nestMember(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Writes the nest member of the class.
- newAnonymous(ClassKind, int, Traversable<Mod>) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns the anonymous class nested in this class.
- newAnonymous(ClassKind, int, Mod...) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns the anonymous class nested in this class.
- newArray(JvmArray) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes an instruction to allocate new array of given type.
- newArray(JvmArray, int) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes an instruction to allocate new array of given type and dimensions.
- newInstanceAndDup(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes instructions to allocate new object and immediately duplicate it.
- newLocal(ClassKind, int, String, Traversable<Mod>) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns the local class nested in this class.
- newLocal(ClassKind, int, String, Mod...) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns the local class nested in this class.
- newMember(ClassKind, String, Traversable<Mod>) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns the member class of this class.
- newMember(ClassKind, String, Mod...) - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns the member class of this class.
- newMemberType(JvmNestedClass) - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the member of this class without type arguments.
- newMemberType(JvmNestedClass, List<JvmTypeArgument>) - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the member of this class with given type arguments.
- newMemberType(JvmNestedClass, List<JvmTypeArgument>, List<JvmAnnotation>) - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the member of this class with given type arguments and annotations.
- newMemberType(JvmNestedClass, JvmTypeArgument...) - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Constructs new class type for the member of this class with given type arguments.
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmDescriptor
-
Binary descriptor of this field or method type.
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Binary method descriptor.
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
-
Non-generic binary descriptor of this type.
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- nonGenericString() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- nop() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
nopinstruction. - notDeeplyAnnotated() - Method in interface me.sbasalaev.tybyco.descriptors.JvmAnnotated
-
Whether this type and all its components have no annotations.
- notGeneric() - Method in class me.sbasalaev.tybyco.descriptors.JvmDescriptor
-
Whether this descripttor has no generic elements.
- numericCast(JvmPrimitiveType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes instructions to convert the number on the stack to given type.
O
- of(Class<?>) - Static method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Constructs new annotation with no arguments.
- of(Class<?>) - Static method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Returns class name corresponding to given Java class.
- of(Enum<?>) - Static method in record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Returns
EnumValuecorresponding to given enum constant. - of(JvmClass, boolean) - Static method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
Constructs new annotation with no arguments.
- of(JvmPrimitiveType) - Static method in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Returns
JvmPrimitiveArrayinstance for given primitive type. - of(TypeKind) - Static method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Returns primitive type of given kind without annotations.
- ofClass(Class<?>) - Static method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
-
Returns a type that corresponds to given Java class.
- ofConstructor(JvmClass, JvmMethodDescriptor) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for given constructor.
- ofInstanceFieldGetter(JvmClass, String, JvmType) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for the getter of given instance field.
- ofInstanceFieldSetter(JvmClass, String, JvmType) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for the setter of given instance field.
- ofPrivateMethod(JvmClass, String, JvmMethodDescriptor) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for given private instance method.
- ofStaticFieldGetter(JvmClass, String, JvmType) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for the getter of given static field.
- ofStaticFieldSetter(JvmClass, String, JvmType) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for the setter of given static field.
- ofStaticMethod(JvmClass, String, JvmMethodDescriptor) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for given static method.
- ofSuperMethod(JvmClass, String, JvmMethodDescriptor) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for given superclass instance method.
- ofVirtualMethod(JvmClass, String, JvmMethodDescriptor) - Static method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Returns new handle for given non-private instance method.
- open(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Adds new local variable to the scope of the method but does not assign it.
- OPEN - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Indicates that the module does not declare any open packages but is treated as if all packages are open.
- openAndStore(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Adds new local variable to the scope and stores top of the stack in it.
- opens(String, String...) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds opens directive.
- opens(String, List<String>, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds opens directive.
- opposite() - Method in enum class me.sbasalaev.tybyco.builders.Cmp
-
Returns opposite comparison result.
- or() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction for bitwise inclusive OR of two values on the stack.
- owner() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
-
Owner class of the referenced member.
P
- PACKAGE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Package info class.
- PackageBuilder - Interface in me.sbasalaev.tybyco.builders
-
Builder of package-info file.
- packageInfo(String) - Static method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Class name for the package-info descriptor with given package name.
- parameter(String, Traversable<Mod>) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Adds formal parameter name to this method and returns a builder to visit its annotations.
- parameter(String, Mod...) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Adds formal parameter name to this method and returns a builder to visit its annotations.
- ParameterBuilder<Result> - Interface in me.sbasalaev.tybyco.builders
-
Builder for annotations of a formal parameter of a method or a constructor.
- permittedSubclass(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Adds permitted subclass to this class.
- pop() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes an instruction that pops the topmost value from the stack.
- prepend(JvmType...) - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Returns method descriptor with given argument types added at the beginning.
- PRIVATE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marked
privatein the source code. - PRIVATE_METHOD - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Reference to a private instance method of a class or interface.
- PROTECTED - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marked
protectedin the source code. - provides(JvmClass, List<? extends JvmClass>) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds provides directive.
- provides(JvmClass, JvmClass, JvmClass...) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds provides directive.
- PUBLIC - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marked or implicitely
publicin the source code. - pushConst(Object) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes an instruction that pushes literal value on the stack.
- pushThis() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Pushes reference to this class on the stack.
- putInstanceField(JvmClass, String, JvmType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
putfieldinstruction. - putStaticField(JvmClass, String, JvmType) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
putstaticinstruction.
Q
- qualifiedName() - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
-
Qualified name of this class.
R
- receiverAnnotation(JvmAnnotation) - Method in interface me.sbasalaev.tybyco.builders.MethodBuilder
-
Puts annotation on the receiver type (this) of the method.
- RECORD - Enum constant in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Record class.
- REFERENCE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- remainder() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction to find the remainder of two numbers on the stack.
- requires(String, Opt<String>, Traversable<Mod>) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds requires directive.
- requires(String, Opt<String>, Mod...) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds requires directive.
- returnType() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Return type of this method or
JvmVoidif it isvoid. - runtimeCompatible() - Static method in enum class me.sbasalaev.tybyco.JavaVersion
-
Returns the latest target Java version not greater than the current runtime version.
S
- setAssigned(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Marks the local variable as assigned.
- setUnassigned(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Marks the local variable as unassigned.
- shiftLeft() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction for the left shift.
- SHORT - Enum constant in enum class me.sbasalaev.tybyco.descriptors.TypeKind
- SHORT - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
shorttype. - SHORT - Static variable in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
-
Primitive
shorttype with no type annotations. - SHORT_ARRAY - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Reference to
short[]. - signedShiftRight() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction for the signed right shift.
- simpleName() - Method in class me.sbasalaev.tybyco.descriptors.JvmNestedClass
-
Simple name of the class.
- source(String) - Method in interface me.sbasalaev.tybyco.builders.ClassfileBuilder
-
Adds name of the source file to this class.
- Stack checks - Search tag in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
- Section
- start(Class<?>) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.AnnotationArrayBuilder
-
Starts building annotation value.
- start(JvmClass) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.AnnotationArrayBuilder
-
Starts building annotation value.
- startAnnotation(String, Class<?>) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Returns builder to build and add annotation value to this builder.
- startAnnotation(String, JvmClass) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Returns builder to build and add annotation value to this builder.
- startAnnotations(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
JvmAnnotationvalues. - startBooleans(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
booleanvalues. - startBytes(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
bytevalues. - startChars(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
charvalues. - startClasses(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of class values.
- startDoubles(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
doublevalues. - startDynamicConstant(String, JvmType, JvmMethodHandle) - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod.Builder
-
Starts building arguments for a dynamic constant.
- startEnums(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of enum constants.
- startFloats(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
floatvalues. - startInts(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
intvalues. - startLongs(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
longvalues. - startShorts(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
shortvalues. - startStrings(String) - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation.Builder
-
Starts building an array of
Stringvalues. - STATIC - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marked or implicitly
staticin the source code. - STATIC_FIELD_GETTER - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Static field getter reference.
- STATIC_FIELD_SETTER - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Static field setter reference.
- STATIC_METHOD - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Reference to a static method of a class or interface.
- staticInitializer() - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Returns builder of the code for the static class initializer.
- store(LocalVar) - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes instruction that stores top of the stack in given local variable.
- STRICT - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Deprecated.
- subtract() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction to subtract two numbers on the stack.
- SUPER(JvmReferenceType) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Super wildcard with given lower bound.
- SUPER_METHOD - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Reference to a method of a superclass or direct superinterface.
- superClass(JvmClassType) - Method in interface me.sbasalaev.tybyco.builders.ClassBuilder
-
Sets extended superclass of this class.
- superInterface(JvmClassType) - Method in interface me.sbasalaev.tybyco.builders.ClassOrInterfaceBuilder
-
Adds implemented interface to this class.
- SYNCHRONIZED - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Declared
synchronized, invocation is wrapped by a monitor use. - SYNTHETIC - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Is not explicitely and implicitely declared in the source.
T
- Target - Class in me.sbasalaev.tybyco.builders
-
Target instruction in the code of a method or a constructor.
- Target() - Constructor for class me.sbasalaev.tybyco.builders.Target
-
Creates new target.
- Target(String) - Constructor for class me.sbasalaev.tybyco.builders.Target
-
Creates new target with given name.
- toString() - Method in class me.sbasalaev.tybyco.builders.LocalVar
-
String representation of this variable as would appear in the source code.
- toString() - Method in class me.sbasalaev.tybyco.builders.Target
- toString() - Method in record class me.sbasalaev.tybyco.CompiledClass
-
Returns a string representation of this record class.
- toString() - Method in record class me.sbasalaev.tybyco.descriptors.EnumValue
-
Returns a string representation of this record class.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmAnnotation
-
String representation of this annotation.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmBootstrapMethod
-
String representation of this bootstrap method.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmClass
- toString() - Method in interface me.sbasalaev.tybyco.descriptors.JvmClassOrArray
-
String representation of this reference as would appear in the source.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmDescriptor
-
String representation of this descriptor as would appear in Java source.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
String representation of this dynamic constant.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
String representation of this method descriptor.
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodHandle
- toString() - Method in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceArray
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- toString() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- toType() - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- toType() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceType
- toType() - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- toType() - Method in interface me.sbasalaev.tybyco.descriptors.JvmTypeArgument
-
Type bound of this type argument.
- toType() - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- TRANSIENT - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Transient field is not written or read by a persistent object manager.
- TRANSITIVE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Indicates that any module which depends on the current module, implicitly declares a dependence on the module indicated by this entry.
- Tybyco - Class in me.sbasalaev.tybyco
-
Entry point for builders of classfiles.
- Tybyco.Builder - Class in me.sbasalaev.tybyco
-
Builder of Tybyco settings.
- type() - Method in class me.sbasalaev.tybyco.builders.LocalVar
-
The type of the variable.
- type() - Method in class me.sbasalaev.tybyco.descriptors.JvmDynamicConstant
-
The type of the constant.
- TYPE(Class<?>) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Type of given runtime class, array or primitive type.
- TYPE(Class<?>, JvmTypeArgument...) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Class type with given class and type arguments.
- TYPE(JvmClass) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Class type with given class and no type arguments.
- TYPE(JvmClass, JvmTypeArgument...) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Class type with given class and type arguments.
- typeAnnotation(JvmAnnotation) - Method in interface me.sbasalaev.tybyco.builders.FieldBuilder
-
Puts given annotation directly on the type of this field.
- typeArguments() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
-
Type arguments applied to this class.
- TypeKind - Enum Class in me.sbasalaev.tybyco.descriptors
-
Kind of the JVM data type (primitive or reference).
- typeParameter(String, JvmClassType, List<JvmClassType>) - Method in interface me.sbasalaev.tybyco.builders.GenericElementBuilder
-
Adds type parameter with given bounds.
- typeParameter(String, JvmTypeVariable) - Method in interface me.sbasalaev.tybyco.builders.GenericElementBuilder
-
Adds type parameter with given bound.
- TypeParameterBuilder<Result> - Interface in me.sbasalaev.tybyco.builders
-
Builder for annotations of a type parameter.
- TYPEVAR(String) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Type variable with
java.lang.Objectas upper bound. - TYPEVAR(String, JvmClass) - Static method in class me.sbasalaev.tybyco.descriptors.Jvm
-
Type variable with given upper bound.
U
- unannotated() - Method in interface me.sbasalaev.tybyco.descriptors.JvmAnnotated
-
This type with all the annotations removed.
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmArrayType
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassOrArrayType
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmClassType
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmExtendsWildcard
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmPrimitiveType
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmReferenceType
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmSuperWildcard
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmType
- unannotated() - Method in interface me.sbasalaev.tybyco.descriptors.JvmTypeArgument
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeOrVoid
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmTypeVariable
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmUnboundedWildcard
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmVoid
- unannotated() - Method in class me.sbasalaev.tybyco.descriptors.JvmWildcard
- unsignedShiftRight() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction for the unsigned right shift.
- uses(JvmClass) - Method in interface me.sbasalaev.tybyco.builders.ModuleBuilder
-
Adds uses directive.
V
- V10 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V11 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V12 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V13 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V14 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V15 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V16 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V17 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V7 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V8 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- V9 - Enum constant in enum class me.sbasalaev.tybyco.JavaVersion
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.builders.Cmp
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.descriptors.TypeKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.sbasalaev.tybyco.JavaVersion
-
Returns the enum constant of this class with the specified name.
- valueReturn() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
returninstruction and ends the current block of code. - values() - Static method in enum class me.sbasalaev.tybyco.builders.Cmp
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.sbasalaev.tybyco.descriptors.ClassKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.sbasalaev.tybyco.descriptors.JvmPrimitiveArray
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.sbasalaev.tybyco.descriptors.TypeKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.sbasalaev.tybyco.JavaVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARARGS - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Marks method as having variable number of parameters.
- verify(boolean) - Method in class me.sbasalaev.tybyco.Tybyco.Builder
-
Whether to (partially) verify classes being built.
- version(JavaVersion) - Method in class me.sbasalaev.tybyco.Tybyco.Builder
-
Set target Java version.
- VIRTUAL_METHOD - Enum constant in enum class me.sbasalaev.tybyco.descriptors.JvmMethodHandle.Kind
-
Reference to a non-private instance method of a class or interface.
- VOID - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Primitive
voidpseudotype. - voidReturn() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes
returninstruction and ends the current block of code. - VOLATILE - Enum constant in enum class me.sbasalaev.tybyco.descriptors.Mod
-
Volatile field is not cached by threads.
W
- WILD - Static variable in class me.sbasalaev.tybyco.descriptors.Jvm
-
Unbounded Java wildcard <?>.
- withOptions() - Static method in class me.sbasalaev.tybyco.Tybyco
-
Builds options for a
Tybycoinstance. - withReturnType(JvmTypeOrVoid) - Method in class me.sbasalaev.tybyco.descriptors.JvmMethodDescriptor
-
Returns method descriptor with the return type replaced by a given type.
- writeLocalTables(boolean) - Method in class me.sbasalaev.tybyco.Tybyco.Builder
-
Whether to generate
LocalVariableTableandLocalVariableTypeTable.
X
- xor() - Method in interface me.sbasalaev.tybyco.builders.CodeBlockBuilder
-
Writes appropriate instruction for bitwise exclusive OR of two values on the stack.
All Classes and Interfaces|All Packages