Index

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

A

abstract_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be abstract.
abstract_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be abstract.
access(VarHandle, Object...) - Method in interface org.cojen.maker.MethodMaker
Access a VarHandle via a pseudo field.
add(Object) - Method in interface org.cojen.maker.Variable
Add this variable with another variable or a constant, and assign the result to a new variable.
addAnnotation(Object, boolean) - Method in interface org.cojen.maker.Maker
Add an annotation to this item.
addAnnotation(Object, boolean) - Method in interface org.cojen.maker.Type
Add an annotation to this type, if it's annotatable.
addAnnotation(Object, boolean) - Method in interface org.cojen.maker.Variable
Add an annotation to this variable.
addAttribute(String, Object) - Method in interface org.cojen.maker.Maker
Add a generic JVM attribute which optionally references a constant value.
addClinit() - Method in interface org.cojen.maker.ClassMaker
Add code to the static initializer of this class.
addConstructor(MethodType) - Method in interface org.cojen.maker.ClassMaker
Add a constructor to this class.
addConstructor(Object...) - Method in interface org.cojen.maker.ClassMaker
Add a constructor to this class.
addField(Object, String) - Method in interface org.cojen.maker.ClassMaker
Add a field to the class.
addInnerClass(String) - Method in interface org.cojen.maker.ClassMaker
Add an inner class to this class.
addInnerClass(String) - Method in interface org.cojen.maker.MethodMaker
Add an inner class to this method.
addMethod(Object, String, Object...) - Method in interface org.cojen.maker.ClassMaker
Add a method to this class.
addMethod(String, MethodType) - Method in interface org.cojen.maker.ClassMaker
Add a method to this class.
aget(Object) - Method in interface org.cojen.maker.Variable
Access an element from this array.
alength() - Method in interface org.cojen.maker.Variable
Access the length of this array.
and(Object) - Method in interface org.cojen.maker.Variable
Compute the bitwise and of this variable with another variable or a constant, and assign the result to a new variable.
annotatable() - Method in interface org.cojen.maker.Type
Returns a new type instance which supports annotations.
annotation() - Method in interface org.cojen.maker.ClassMaker
Indicate that this class is defining an annotation interface.
AnnotationMaker - Interface in org.cojen.maker
Defines the contents of an annotation.
another(String) - Method in interface org.cojen.maker.ClassMaker
Begin defining another class with the same loader and lookup as this one.
arrayType(int) - Method in interface org.cojen.maker.ClassMaker
Returns a type object which represents the class being made as an array.
asArray() - Method in interface org.cojen.maker.Type
Returns this type as an array, or else adds a dimension if this type is already an array.
aset(Object, Object) - Method in interface org.cojen.maker.Variable
Set an element into this array.
asRecord() - Method in interface org.cojen.maker.ClassMaker
Convert this class to a record, and return a newly added constructor for it.

B

begin() - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with an automatically assigned name.
begin(MethodHandles.Lookup, Object, String, Object...) - Static method in interface org.cojen.maker.MethodMaker
Begin defining a standalone method, defined in the same nest as the lookup class.
begin(MethodHandles.Lookup, String, MethodType) - Static method in interface org.cojen.maker.MethodMaker
Begin defining a standalone method, defined in the same nest as the lookup class.
begin(String) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with the given name, but the actual name will have a suffix applied to ensure uniqueness.
begin(String, ClassLoader) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with the given name, but the actual name will have a suffix applied to ensure uniqueness.
begin(String, ClassLoader, Object) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with the given name, but the actual name will have a suffix applied to ensure uniqueness.
begin(String, MethodHandles.Lookup) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with the given name, but the actual name will have a suffix applied to ensure uniqueness.
beginExplicit(String, ClassLoader, Object) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with an explicitly specified name.
beginExplicit(String, MethodHandles.Lookup) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class with an explicitly specified name.
beginExternal(String) - Static method in interface org.cojen.maker.ClassMaker
Begin defining a class intended to be loaded from a file.
Bootstrap - Interface in org.cojen.maker
Represents an invoke dynamic bootstrap method which is bound to a method.
box() - Method in interface org.cojen.maker.Type
Returns an object type for a primitive type, or else returns this type.
box() - Method in interface org.cojen.maker.Variable
Box this primitive variable into its object peer.
boxedType() - Method in interface org.cojen.maker.Variable
Returns a boxed object type for this variable.
boxedType(Class<?>) - Static method in interface org.cojen.maker.Variable
Returns a boxed object type for the given type.
bridge() - Method in interface org.cojen.maker.MethodMaker
Indicate that this method is a bridge, which implements an inherited method exactly, but it delegates to another method which returns a more specialized return type.

C

cast(Object) - Method in interface org.cojen.maker.Variable
Cast this variable to another type, and assign the result to a new variable.
catch_(Label, Object, Consumer<Variable>) - Method in interface org.cojen.maker.MethodMaker
Convenience method which defines an exception handler here.
catch_(Label, Label, Object) - Method in interface org.cojen.maker.MethodMaker
Define an exception handler here, which catches exceptions between the given labels.
catch_(Label, Label, Object...) - Method in interface org.cojen.maker.MethodMaker
Define an exception handler here, which catches exceptions between the given labels.
class_() - Method in interface org.cojen.maker.MethodMaker
Returns a variable of type Class which represents the enclosing class of this method.
classLoader() - Method in interface org.cojen.maker.ClassMaker
Returns the class loader that the finished class will be loaded into.
classMaker() - Method in interface org.cojen.maker.Maker
Returns the ClassMaker for this item, which can also be used as a type specification.
ClassMaker - Interface in org.cojen.maker
Allows new classes and interfaces to be defined dynamically.
classType() - Method in interface org.cojen.maker.Type
Returns the Class corresponding to this type, or else null if this type represents a class which is being made.
classType() - Method in interface org.cojen.maker.Variable
Returns the type of this variable, if bound to an existing class.
clear() - Method in interface org.cojen.maker.Variable
Assign a value of 0, false, or null to this variable, depending on its type.
com() - Method in interface org.cojen.maker.Variable
Compute the bitwise complement of this variable and assign the result to a new variable.
compareAndExchange(Object, Object) - Method in interface org.cojen.maker.Field
 
compareAndExchangeAcquire(Object, Object) - Method in interface org.cojen.maker.Field
 
compareAndExchangeRelease(Object, Object) - Method in interface org.cojen.maker.Field
 
compareAndSet(Object, Object) - Method in interface org.cojen.maker.Field
 
concat(Object...) - Method in interface org.cojen.maker.MethodMaker
Concatenate variables and constants together into a new String in the same matter as the Java concatenation operator.
condy(String, Object...) - Method in interface org.cojen.maker.Variable
Specify a static bootstrap method for dynamically generating constants, as found in the class type of this variable.

D

dec(Object) - Method in interface org.cojen.maker.Variable
Decrement this variable with another variable or a constant, and assign the result back to this variable.
descriptor() - Method in interface org.cojen.maker.Type
Returns a descriptor string for this type.
dimensions() - Method in interface org.cojen.maker.Type
Returns the dimensions of this array type, or else 0 if this type isn't an array.
div(Object) - Method in interface org.cojen.maker.Variable
Divide this variable with another variable or a constant, and assign the result to a new variable.

E

elementType() - Method in interface org.cojen.maker.Type
Returns the element type of this array type, or else null if this type isn't an array.
enum_() - Method in interface org.cojen.maker.ClassMaker
Indicate that this class is defining an enum.
enum_() - Method in interface org.cojen.maker.FieldMaker
Indicate that this field is an enum constant.
eq(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is equal to another variable or constant, and assign the result to a new boolean variable.
extend(Object) - Method in interface org.cojen.maker.ClassMaker
Set a class that this class extends.

F

field(String) - Method in interface org.cojen.maker.MethodMaker
Access a static or instance field in the enclosing object of this method.
field(String) - Method in interface org.cojen.maker.Variable
Access a static or instance field from the object referred to by this variable.
Field - Interface in org.cojen.maker
Represents a field accessible by the body of a method.
FieldMaker - Interface in org.cojen.maker
Allows new fields to be defined within a class.
final_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be final.
final_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be final.
final_() - Method in interface org.cojen.maker.Maker
Switch this item to be final.
final_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be final.
finally_(Label, Runnable) - Method in interface org.cojen.maker.MethodMaker
Define a finally handler which is generated for every possible exit path between the start label and here.
finish() - Method in interface org.cojen.maker.ClassMaker
Finishes the definition of the new class.
finish() - Method in interface org.cojen.maker.MethodMaker
Finishes the definition of a standalone method.
finishBytes() - Method in interface org.cojen.maker.ClassMaker
Finishes the definition of the new class into a byte array.
finishHidden() - Method in interface org.cojen.maker.ClassMaker
Finishes the definition of a new hidden class, returning a lookup which has full privilege access to the class.
finishLookup() - Method in interface org.cojen.maker.ClassMaker
Finishes the definition of the new class, returning a lookup which has full privilege access to the class.
finishTo(OutputStream) - Method in interface org.cojen.maker.ClassMaker
Finishes the definition of the new class and writes it to a stream.
freeze() - Method in interface org.cojen.maker.Type
Prevent adding more annotations to this type.
from(Class<?>) - Static method in interface org.cojen.maker.Type
Return a Type corresponding to the given Class.
from(Object) - Static method in interface org.cojen.maker.Type
Return a Type corresponding to the given object parameter.
from(Object, ClassLoader) - Static method in interface org.cojen.maker.Type
Return a Type corresponding to the given object parameter, as found by the given ClassLoader.
from(String) - Static method in interface org.cojen.maker.Type
Return a Type corresponding to the given class name or type descriptor.
from(String, ClassLoader) - Static method in interface org.cojen.maker.Type
Return a Type corresponding to the given class name or type descriptor, as found by the given ClassLoader.

G

ge(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is greater than or equal to another variable or constant, and assign the result to a new boolean variable.
get() - Method in interface org.cojen.maker.Variable
Return a new variable with the same type and value as this one.
getAcquire() - Method in interface org.cojen.maker.Field
Access the field using acquire mode.
getAndAdd(Object) - Method in interface org.cojen.maker.Field
 
getAndAddAcquire(Object) - Method in interface org.cojen.maker.Field
 
getAndAddRelease(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseAnd(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseAndAcquire(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseAndRelease(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseOr(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseOrAcquire(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseOrRelease(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseXor(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseXorAcquire(Object) - Method in interface org.cojen.maker.Field
 
getAndBitwiseXorRelease(Object) - Method in interface org.cojen.maker.Field
 
getAndSet(Object) - Method in interface org.cojen.maker.Field
 
getAndSetAcquire(Object) - Method in interface org.cojen.maker.Field
 
getAndSetRelease(Object) - Method in interface org.cojen.maker.Field
 
getOpaque() - Method in interface org.cojen.maker.Field
Access the field using opaque mode.
getParamTypes() - Method in interface org.cojen.maker.MethodMaker
Returns the parameter types of this method.
getPlain() - Method in interface org.cojen.maker.Field
Access the field using plain mode, ignoring any volatile declaration.
getReturnType() - Method in interface org.cojen.maker.MethodMaker
Returns the return type of this method.
getVolatile() - Method in interface org.cojen.maker.Field
Access the field as if it was declared volatile.
goto_() - Method in interface org.cojen.maker.Label
Generates an unconditional goto statement to this label, which doesn't need to be positioned yet.
goto_(Label) - Method in interface org.cojen.maker.MethodMaker
Generates an unconditional goto statement to the given label, which doesn't need to be positioned yet.
gt(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is greater than another variable or constant, and assign the result to a new boolean variable.

H

here() - Method in interface org.cojen.maker.Label
Sets the position of the label at the location of the next code instruction.

I

ifEq(Object, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is equal to another variable or constant.
ifEq(Object, Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is equal to another variable or constant.
ifEq(Object, Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is equal to another variable or constant.
ifFalse(Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is false.
ifFalse(Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is false.
ifFalse(Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is false.
ifGe(Object, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is greater than or equal to another variable or constant.
ifGe(Object, Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is greater than or equal to another variable or constant.
ifGe(Object, Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is greater than or equal to another variable or constant.
ifGt(Object, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is greater than another variable or constant.
ifGt(Object, Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is greater than another variable or constant.
ifGt(Object, Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is greater than another variable or constant.
ifLe(Object, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is less than or equal to another variable or constant.
ifLe(Object, Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is less than or equal to another variable or constant.
ifLe(Object, Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is less than or equal to another variable or constant.
ifLt(Object, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is less than another variable or constant.
ifLt(Object, Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is less than another variable or constant.
ifLt(Object, Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is less than another variable or constant.
ifNe(Object, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is not equal to another variable or constant.
ifNe(Object, Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is not equal to another variable or constant.
ifNe(Object, Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is not equal to another variable or constant.
ifTrue(Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is true.
ifTrue(Runnable, Runnable) - Method in interface org.cojen.maker.Variable
Convenience method to generate conditional code if this variable is true.
ifTrue(Label) - Method in interface org.cojen.maker.Variable
Conditional goto if this variable is true.
implement(Object) - Method in interface org.cojen.maker.ClassMaker
Add an interface that this class or interface implements.
inc(Object) - Method in interface org.cojen.maker.Variable
Increment this variable with another variable or a constant, and assign the result back to this variable.
indy(String, Object...) - Method in interface org.cojen.maker.Variable
Specify a static bootstrap method for dynamically generating methods, as found in the class type of this variable.
init(Object) - Method in interface org.cojen.maker.FieldMaker
Set an initial constant value for this field.
initExact(Object) - Method in interface org.cojen.maker.FieldMaker
Set an exact initial constant value for this field, supported only when the class is built dynamically instead of loaded from a file.
insert(Runnable) - Method in interface org.cojen.maker.Label
Insert a body of code immediately after this positioned label, and return a new label which is positioned after the end of the inserted code body.
installClass(Class<?>) - Method in interface org.cojen.maker.ClassMaker
Directly install a dependent class into the class loader used by the finished class.
instanceOf(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is an instance of the given class or interface, and assign the result to a new boolean variable.
interface_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be an interface.
invoke(MethodHandle, Object...) - Method in interface org.cojen.maker.MethodMaker
Invoke a method via a MethodHandle.
invoke(Object, String) - Method in interface org.cojen.maker.Bootstrap
Invoke a dynamically generated constant, or a dynamically generated method that has no parameters.
invoke(Object, String, Object[], Object...) - Method in interface org.cojen.maker.Bootstrap
Invoke a dynamically generated method.
invoke(Object, String, Object[], Object...) - Method in interface org.cojen.maker.Variable
Invoke a static or instance method on the object referenced by this variable.
invoke(String, Object...) - Method in interface org.cojen.maker.MethodMaker
Invoke a static or instance method on the enclosing object of this method.
invoke(String, Object...) - Method in interface org.cojen.maker.Variable
Invoke a static or instance method on the object referenced by this variable.
invokeSuperConstructor(Object...) - Method in interface org.cojen.maker.MethodMaker
Invoke a super constructor method on the enclosing object of this method, from within a constructor.
invokeThisConstructor(Object...) - Method in interface org.cojen.maker.MethodMaker
Invoke a this constructor method on the enclosing object of this method, from within a constructor.
isArray() - Method in interface org.cojen.maker.Type
Returns true if this type is an array.
isInterface() - Method in interface org.cojen.maker.Type
Returns true if this type is known to be an interface.
isObject() - Method in interface org.cojen.maker.Type
Returns true if this type is an array, an interface, or a class.
isPrimitive() - Method in interface org.cojen.maker.Type
Returns true if this type is an int, boolean, double, etc.

L

label() - Method in interface org.cojen.maker.MethodMaker
Returns a new label, initially unpositioned.
Label - Interface in org.cojen.maker
Represents a label bound to a method body.
le(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is less than or equal to another variable or constant, and assign the result to a new boolean variable.
lineNum(int) - Method in interface org.cojen.maker.MethodMaker
Define a line number to represent the location of the next code instruction.
lt(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is less than another variable or constant, and assign the result to a new boolean variable.

M

Maker - Interface in org.cojen.maker
Base interface for making classes, methods, and fields.
makerType() - Method in interface org.cojen.maker.Variable
Returns the type of this variable, if bound to a class which is being made.
methodHandle(Object, String, Object...) - Method in interface org.cojen.maker.Variable
Returns a MethodHandle variable which can invoke a static or instance method on the object referenced by this variable.
methodHandleGet() - Method in interface org.cojen.maker.Field
Returns a MethodHandle variable for getting the field value.
methodHandleSet() - Method in interface org.cojen.maker.Field
Returns a MethodHandle variable for setting the field value.
methodMaker() - Method in interface org.cojen.maker.Label
Returns the MethodMaker that this label belongs to.
methodMaker() - Method in interface org.cojen.maker.Variable
Returns the MethodMaker that this variable belongs to.
MethodMaker - Interface in org.cojen.maker
Allows new methods to be defined within a class.
monitorEnter() - Method in interface org.cojen.maker.Variable
Enter a synchronized block on this variable.
monitorExit() - Method in interface org.cojen.maker.Variable
Exit a synchronized block on this variable.
mul(Object) - Method in interface org.cojen.maker.Variable
Multiply this variable with another variable or a constant, and assign the result to a new variable.

N

name() - Method in interface org.cojen.maker.ClassMaker
Returns the tentative name of the class being made.
name() - Method in interface org.cojen.maker.FieldMaker
Returns the name of this field.
name() - Method in interface org.cojen.maker.Maker
Returns the name of the item being made.
name() - Method in interface org.cojen.maker.MethodMaker
Returns the name of this method.
name() - Method in interface org.cojen.maker.Type
Returns the name of this type in Java syntax.
name() - Method in interface org.cojen.maker.Variable
Returns the name of this variable, which is null if unnamed.
name(String) - Method in interface org.cojen.maker.Field
Fields cannot be renamed, and so this method always throws an IllegalStateException.
name(String) - Method in interface org.cojen.maker.Variable
Optionally assign a variable name.
native_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be native.
ne(Object) - Method in interface org.cojen.maker.Variable
Determine if this variable is not equal to another variable or constant, and assign the result to a new boolean variable.
neg() - Method in interface org.cojen.maker.Variable
Negate the value of this variable and assign the result to a new variable.
new_(Object, Object...) - Method in interface org.cojen.maker.MethodMaker
Allocate a new object.
newAnnotation(Object) - Method in interface org.cojen.maker.AnnotationMaker
Define a new annotation, which can be put into this annotation at most once.
nop() - Method in interface org.cojen.maker.MethodMaker
Append an instruction which does nothing, which can be useful for debugging.
not() - Method in interface org.cojen.maker.Variable
Compute the logical negation of this boolean variable, and assign the result to a new variable.

O

or(Object) - Method in interface org.cojen.maker.Variable
Compute the bitwise or of this variable with another variable or a constant, and assign the result to a new variable.
org.cojen.maker - module org.cojen.maker
Dynamic Java class file generator.
org.cojen.maker - package org.cojen.maker
Dynamic Java class file generator.
override() - Method in interface org.cojen.maker.MethodMaker
Verifies that this method overrides an inherited virtual method.

P

param(int) - Method in interface org.cojen.maker.MethodMaker
Returns a variable which accesses a parameter of the method being built.
paramCount() - Method in interface org.cojen.maker.MethodMaker
Returns the number of parameters which can be accessed by the param method.
permitSubclass(Object) - Method in interface org.cojen.maker.ClassMaker
Convert this class into a sealed class by permitting a subclass.
private_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be private.
private_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be private.
private_() - Method in interface org.cojen.maker.Maker
Switch this item to be private.
private_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be private.
protected_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be protected.
protected_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be protected.
protected_() - Method in interface org.cojen.maker.Maker
Switch this item to be protected.
protected_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be protected.
public_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be public.
public_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be public.
public_() - Method in interface org.cojen.maker.Maker
Switch this item to be public.
public_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be public.
put(String, Object) - Method in interface org.cojen.maker.AnnotationMaker
Put a name-value pair into the annotation, where the value can be a primitive type, a String, an Enum, a Class, an AnnotationMaker, or an array.

R

receiverType(Type) - Method in interface org.cojen.maker.MethodMaker
Define a receiver type for the sole purpose of annotating the implicit this parameter.
rem(Object) - Method in interface org.cojen.maker.Variable
Compute the division remainder of this variable with another variable or a constant, and assign the result to a new variable.
return_() - Method in interface org.cojen.maker.MethodMaker
Generates a return void statement.
return_(Object) - Method in interface org.cojen.maker.MethodMaker
Generates a statement which returns a variable or a constant.

S

set(Object) - Method in interface org.cojen.maker.Field
Assign a value to this variable, either from another variable or from a constant.
set(Object) - Method in interface org.cojen.maker.Variable
Assign a value to this variable, either from another variable or from a constant.
setExact(Object) - Method in interface org.cojen.maker.Variable
Assign an exact object instance to this variable, supported only when the class is built dynamically instead of loaded from a file.
setOpaque(Object) - Method in interface org.cojen.maker.Field
Set the field using opaque mode.
setPlain(Object) - Method in interface org.cojen.maker.Field
Set the field using plain mode, ignoring any volatile declaration.
setRelease(Object) - Method in interface org.cojen.maker.Field
Set the field using release mode.
setVolatile(Object) - Method in interface org.cojen.maker.Field
Set the field as if it was declared volatile.
shl(Object) - Method in interface org.cojen.maker.Variable
Compute the bitwise left shift of this variable with another variable or a constant, and assign the result to a new variable.
shr(Object) - Method in interface org.cojen.maker.Variable
Compute the bitwise right shift of this variable with another variable or a constant, and assign the result to a new variable.
signature(Object...) - Method in interface org.cojen.maker.ClassMaker
Define a signature for this member, which is a string for supporting generic types.
signature(Object...) - Method in interface org.cojen.maker.Field
Fields cannot have a signature defined within the body of a method, and so this method always throws an IllegalStateException.
signature(Object...) - Method in interface org.cojen.maker.FieldMaker
Define a signature for this member, which is a string for supporting generic types.
signature(Object...) - Method in interface org.cojen.maker.Maker
Define a signature for this member, which is a string for supporting generic types.
signature(Object...) - Method in interface org.cojen.maker.MethodMaker
Define a signature for this member, which is a string for supporting generic types.
signature(Object...) - Method in interface org.cojen.maker.Variable
Define a signature for this named variable, which is a string for supporting generic types.
sourceFile(String) - Method in interface org.cojen.maker.ClassMaker
Set the source file of this class file by adding a source file attribute.
static_() - Method in interface org.cojen.maker.ClassMaker
Switch this class to be static.
static_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be static.
static_() - Method in interface org.cojen.maker.Maker
Switch this item to be static.
static_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be static.
sub(Object) - Method in interface org.cojen.maker.Variable
Subtract this variable with another variable or a constant, and assign the result to a new variable.
super_() - Method in interface org.cojen.maker.MethodMaker
Returns a variable which is used for invoking superclass methods.
switch_(Label, int[], Label...) - Method in interface org.cojen.maker.Variable
Generates a switch statement against this int or non-null Integer variable.
switch_(Label, Enum<?>[], Label...) - Method in interface org.cojen.maker.Variable
Generates a switch statement against this non-null Enum variable.
switch_(Label, Object[], Label...) - Method in interface org.cojen.maker.Variable
Generates a switch statement against this non-null variable, of any type.
switch_(Label, String[], Label...) - Method in interface org.cojen.maker.Variable
Generates a switch statement against this non-null String variable.
synchronized_() - Method in interface org.cojen.maker.MethodMaker
Switch this method to be synchronized.
synchronized_(Runnable) - Method in interface org.cojen.maker.Variable
Convenience method for defining a synchronized block on this variable.
synthetic() - Method in interface org.cojen.maker.ClassMaker
Indicate that this class is synthetic.
synthetic() - Method in interface org.cojen.maker.FieldMaker
Indicate that this field is synthetic.
synthetic() - Method in interface org.cojen.maker.Maker
Indicate that this item is synthetic.
synthetic() - Method in interface org.cojen.maker.MethodMaker
Indicate that this method is synthetic.

T

this_() - Method in interface org.cojen.maker.MethodMaker
Returns a variable which accesses the enclosing object of this method.
Thread safety - Search tag in package org.cojen.maker
Section
throw_() - Method in interface org.cojen.maker.Variable
Throw the exception object referred to by this variable.
throws_(Object) - Method in interface org.cojen.maker.MethodMaker
Declare that this method throws the given exception type.
transient_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be transient.
type() - Method in interface org.cojen.maker.ClassMaker
Returns the type of this class being made.
type() - Method in interface org.cojen.maker.FieldMaker
Returns the type of this field being made.
type() - Method in interface org.cojen.maker.Variable
Returns the type of this variable.
Type - Interface in org.cojen.maker
Describes a class which is being made, or describes an existing class or primitive type.
Types - Search tag in package org.cojen.maker
Section
Types and Values - Search tag in package org.cojen.maker
Section

U

unannotated() - Method in interface org.cojen.maker.Type
Returns this type without any annotations.
unbox() - Method in interface org.cojen.maker.Type
Returns a primitive type for an object type, or else returns null if not applicable.
unbox() - Method in interface org.cojen.maker.Variable
Unbox this object variable into its primitive peer.
unboxedType() - Method in interface org.cojen.maker.Variable
Returns an unboxed primitive type for this variable.
unboxedType(Class<?>) - Static method in interface org.cojen.maker.Variable
Returns an unboxed primitive type for the given type.
unimplementedMethods() - Method in interface org.cojen.maker.ClassMaker
Returns the set of methods which would need to be implemented by this class in order for it to be non-abstract.
ushr(Object) - Method in interface org.cojen.maker.Variable
Compute the bitwise unsigned right shift of this variable with another variable or a constant, and assign the result to a new variable.

V

Values - Search tag in package org.cojen.maker
Section
Value type conversions - Search tag in package org.cojen.maker
Section
var(Object) - Method in interface org.cojen.maker.MethodMaker
Returns a new uninitialized variable with the given type.
varargs() - Method in interface org.cojen.maker.MethodMaker
Indicate that this method supports a variable number of arguments.
varHandle() - Method in interface org.cojen.maker.Field
Returns a VarHandle variable which accesses the field.
Variable - Interface in org.cojen.maker
Represents a variable bound to the body of a method.
volatile_() - Method in interface org.cojen.maker.FieldMaker
Switch this field to be volatile.

W

weakCompareAndSet(Object, Object) - Method in interface org.cojen.maker.Field
 
weakCompareAndSetAcquire(Object, Object) - Method in interface org.cojen.maker.Field
 
weakCompareAndSetPlain(Object, Object) - Method in interface org.cojen.maker.Field
 
weakCompareAndSetRelease(Object, Object) - Method in interface org.cojen.maker.Field
 

X

xor(Object) - Method in interface org.cojen.maker.Variable
Compute the bitwise xor of this variable with another variable or a constant, and assign the result to a new variable.
A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages