Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AccessAgent - Class in jadex.bytecode.access
- AccessAgent() - Constructor for class jadex.bytecode.access.AccessAgent
- ACCESSOR_CLASSES - Static variable in class jadex.bytecode.invocation.SInvocation
-
Cached accessor classes.
- AccessTestClass() - Constructor for class jadex.bytecode.invocation.SInvocation.AccessTestClass
- addDelegates(ClassLoader[]) - Method in class jadex.bytecode.ByteCodeClassLoader
- agentmain(String, Instrumentation) - Static method in class jadex.bytecode.access.AccessAgent
- agentmain(String, Instrumentation) - Static method in class jadex.bytecode.vmhacks.VmHacksAgent
-
The entry point invoked when this agent is started.
- appendToBootstrapClassLoaderSearch(String, byte[]) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Appends a new class to the bootstrap classloader.
- appendToBootstrapClassLoaderSearch(String, InputStream) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Appends a new class to the bootstrap classloader.
- asClassLoader() - Method in class jadex.bytecode.ByteCodeClassLoader
-
Access to the classloader type.
- asClassLoader() - Method in interface jadex.bytecode.IByteCodeClassLoader
-
Access to the classloader type.
- await() - Method in class jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
-
Wait for command to finish.
- await(long) - Method in class jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
-
Wait for command to finish.
B
- ByteCodeClassLoader - Class in jadex.bytecode
-
ClassLoader for generated classes.
- ByteCodeClassLoader(ClassLoader...) - Constructor for class jadex.bytecode.ByteCodeClassLoader
-
Creates the loader.
C
- CLASSCACHE - Static variable in class jadex.bytecode.Proxy
- ClassStore - Class in jadex.bytecode.vmhacks
-
Class used to store injected classes globally.
- ClassStore() - Constructor for class jadex.bytecode.vmhacks.ClassStore
-
Creates the store.
- clear() - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- containsKey(Object) - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- containsValue(Object) - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- COUNTER - Static variable in class jadex.bytecode.Proxy
- createAccessorClass(IByteCodeClassLoader, Class<T>, Class<?>) - Static method in class jadex.bytecode.invocation.SInvocation
-
Generates an accessor class based on an interface.
- createByteCodeClassLoader(ClassLoader...) - Static method in class jadex.bytecode.SASM
-
Creates a byte code ClassLoader.
- createClass(Class<?>, String, int, Class<?>...) - Static method in class jadex.bytecode.invocation.SInvocation
-
Creates the initial setup for a new class in ASM.
- createExtractorClass(IByteCodeClassLoader, Class<?>, String[], Member[]) - Static method in class jadex.bytecode.invocation.SInvocation
-
Creates extractor class.
- createFallbackAccessor(Class<T>, Class<?>, Object) - Static method in class jadex.bytecode.invocation.SInvocation
-
Implements an accessor based on a dynamic proxy.
- createInvokerClass(IByteCodeClassLoader, Method) - Static method in class jadex.bytecode.invocation.SInvocation
-
Creates the invoker class.
D
- DEBUG - Static variable in class jadex.bytecode.vmhacks.VmHacks
-
Set to true to see debug infos during startup.
- DEFAULT_ACCESS - Static variable in class jadex.bytecode.invocation.SInvocation
-
Flag if default / protected access via ASM is available.
- defaultTest() - Method in class jadex.bytecode.invocation.SInvocation.AccessTestClass
-
Used to test default access privileges.
- defineClass(String, byte[], int, int, ClassLoader, ProtectionDomain) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Access to sun.misc.Unsafe or equivalent.
- delegates - Variable in class jadex.bytecode.ByteCodeClassLoader
-
Additional delegates besides the parent.
- determineAccessLevel(int, int) - Static method in class jadex.bytecode.invocation.SInvocation
-
Determines the necessary access level based on the current access level.
- DISABLE - Static variable in class jadex.bytecode.vmhacks.VmHacks
-
Globally disable all VM Hacks.
- DISABLE_INSTRUMENTATION - Static variable in class jadex.bytecode.vmhacks.VmHacks
-
Disable all instrumentation-based functionality.
- DISABLE_NATIVE - Static variable in class jadex.bytecode.vmhacks.VmHacks
-
Globally disable native functionality.
- DISABLE_SETACCESSIBLE - Static variable in class jadex.bytecode.vmhacks.VmHacks
-
Globally disable setAccessible VM Hacks.
- doDefineClass(byte[]) - Method in class jadex.bytecode.ByteCodeClassLoader
-
Defines a new class.
- doDefineClass(byte[]) - Method in interface jadex.bytecode.IByteCodeClassLoader
-
Defines a new class.
- doDefineClass(String, byte[], int, int) - Method in class jadex.bytecode.ByteCodeClassLoader
-
Exposes the defineClass() method.
- doDefineClass(String, byte[], int, int) - Method in interface jadex.bytecode.IByteCodeClassLoader
-
Exposes the defineClass() method.
- doDefineClass(String, byte[], int, int, ProtectionDomain) - Method in class jadex.bytecode.ByteCodeClassLoader
-
Exposes the defineClass() method.
- doDefineClass(String, byte[], int, int, ProtectionDomain) - Method in interface jadex.bytecode.IByteCodeClassLoader
-
Exposes the defineClass() method.
- doDefineClassInParent(String, byte[], int, int, ProtectionDomain) - Method in class jadex.bytecode.ByteCodeClassLoader
-
Exposes the defineClass() method for explicit indirect definition.
- doDefineClassInParent(String, byte[], int, int, ProtectionDomain) - Method in interface jadex.bytecode.IByteCodeClassLoader
-
Directly injects the class into the parent classloader.
E
- enableEnhancedAccess() - Static method in class jadex.bytecode.invocation.SInvocation
-
Tries to enable enhanced direct access.
- enhanceClass(byte[]) - Static method in class jadex.bytecode.access.InstAccess
-
Method used by the instrumentation agent to enhance the target class.
- entrySet() - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- execute(Instrumentation) - Method in class jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
-
Execute the command.
- ExtendedClassWriter(int, String, boolean) - Constructor for class jadex.bytecode.invocation.SInvocation.ExtendedClassWriter
-
Creates the writer.
- extract(Object) - Method in interface jadex.bytecode.invocation.IExtractor
-
Extract the pre-defined bean properties and return them in the matching arrays.
- EXTRACTOR_CLASSES - Static variable in class jadex.bytecode.invocation.SInvocation
-
Cached extractor classes.
F
- FallBackInvoker(Method) - Constructor for class jadex.bytecode.invocation.SInvocation.FallBackInvoker
-
Creates the invoker.
- findClass(String) - Method in class jadex.bytecode.ByteCodeClassLoader
-
Delegation.
G
- genrateInvocationCode(MethodNode, String, Class<?>, ClassLoader) - Static method in class jadex.bytecode.Proxy
-
Generate the code for delegating the call to the invocation handler.
- get() - Static method in class jadex.bytecode.vmhacks.VmHacks
-
Provides access to unsafe operations.
- get(int) - Method in class jadex.bytecode.vmhacks.LoggerFilterStore
-
Override
- get(Object) - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- getAccessHandle() - Static method in class jadex.bytecode.access.InstAccess
-
Acquire MethodHandle to unchecked Method AccessibleObject.setAccessible0.
- getAccessorClass(Class<T>, Class<?>) - Static method in class jadex.bytecode.invocation.SInvocation
-
Gets class for an interface-based accessor.
- getByteCodeClassLoader(ClassLoader) - Static method in class jadex.bytecode.SASM
-
Generates a ByteCodeClassLoader for loading a generated class.
- getByteCodeClassLoader(ClassLoader, boolean) - Static method in class jadex.bytecode.SASM
-
Generates a ByteCodeClassLoader for loading a generated class.
- getClassNode(Class<?>, ClassLoader) - Static method in class jadex.bytecode.SASM
-
Get a class node for a class.
- getInternalName() - Method in class jadex.bytecode.invocation.SInvocation.ExtendedClassWriter
-
Gets the internal name.
- getInvocationHandler(Object) - Static method in class jadex.bytecode.Proxy
-
Get the invocation handler of a proxy.
- getInvocationHandler(Object) - Static method in class jadex.bytecode.ProxyFactory
-
Get the invocation handler of a proxy.
- getInvokerClass(Method) - Static method in class jadex.bytecode.invocation.SInvocation
-
Gets an invoker class.
- getNativeHelper() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Returns functionality unlocked through native interface.
- getStore() - Static method in class jadex.bytecode.vmhacks.LoggerFilterStore
-
Returns a store object.
H
- hasAsm() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Tests if ASM is available.
- hasIndirectRedefinition() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Checks if redefineClassIndirect() is available.
- hasInstrumentation() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Checks if instrumentation is available.
- hasNative() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Tests if native access is available.
I
- IByteCodeClassLoader - Interface in jadex.bytecode
-
Interface for the byte code classloader implementations.
- IExtractor - Interface in jadex.bytecode.invocation
-
Interface for generated bean extractors.
- IInjector - Interface in jadex.bytecode.invocation
-
Interface for generated bean injectors.
- IMethodInvoker - Interface in jadex.bytecode.invocation
-
Interface used to byte-engineer an accessor handler.
- init() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Initialization step after constructor to allow bootstrapping.
- inject() - Static method in class jadex.bytecode.vmhacks.LoggerFilterStore
-
Injects the store.
- inject(Object, Object...) - Method in interface jadex.bytecode.invocation.IInjector
-
Injects properties into a bean.
- inject(Object, Object...) - Method in class jadex.bytecode.invocation.SInvocation.SortingInjectorWrapper
-
Injects properties into a bean.
- injectClassIntoStore(Map<Object[], Class<?>>, ClassLoader, String, Class<?>) - Static method in class jadex.bytecode.vmhacks.VmHacks
-
Trampoline function for injection into the class redefinition store.
- InstAccess - Class in jadex.bytecode.access
-
Gain access using instrumentation.
- InstAccess() - Constructor for class jadex.bytecode.access.InstAccess
- instance - Static variable in class jadex.bytecode.vmhacks.LoggerFilterStore
-
Hold the logger to prevent GC, weak-referenced globally.
- InstrumentationCommand() - Constructor for class jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
- internalname - Variable in class jadex.bytecode.invocation.SInvocation.ExtendedClassWriter
-
Class internal name.
- invoke(Object, Class<?>, String, Object...) - Static method in class jadex.bytecode.invocation.SInvocation
-
Directly invokes a method based on the method name and arguments.
- invoke(Object, Object...) - Method in interface jadex.bytecode.invocation.IMethodInvoker
-
Invokes a method on an object.
- invoke(Object, Object...) - Method in class jadex.bytecode.invocation.SInvocation.FallBackInvoker
-
Invokes a method on an object.
- invoke(Object, String, Object...) - Static method in class jadex.bytecode.invocation.SInvocation
-
Directly invokes a method based on the method name and arguments.
- INVOKER_CLASSES - Static variable in class jadex.bytecode.invocation.SInvocation
-
Cached invoker classes, the invoker class does not prevent GC (tested).
- isASMProxyClass(Class<?>) - Static method in class jadex.bytecode.ProxyFactory
-
Test if it is a ASM proxy class.
- isEmpty() - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- isLoggable(LogRecord) - Method in class jadex.bytecode.vmhacks.LoggerFilterStore
-
Unused
- isProxyClass(Class<?>) - Static method in class jadex.bytecode.ProxyFactory
-
Returns true if and only if the specified class was dynamically generated to be a proxy class using the
getProxyClass
method or thenewProxyInstance
method.
J
- jadex.bytecode - package jadex.bytecode
- jadex.bytecode.access - package jadex.bytecode.access
- jadex.bytecode.invocation - package jadex.bytecode.invocation
- jadex.bytecode.vmhacks - package jadex.bytecode.vmhacks
K
- keySet() - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
L
- loadClass(String) - Method in interface jadex.bytecode.IByteCodeClassLoader
-
Loads a class.
- LoggerFilterStore - Class in jadex.bytecode.vmhacks
-
This class abuses the java.util.logging.* API to establish a VM-wide object store.
- LoggerFilterStore() - Constructor for class jadex.bytecode.vmhacks.LoggerFilterStore
-
Creates the store.
M
- main(String[]) - Static method in class jadex.bytecode.access.AccessAgent
-
Main for testing.
- main(String[]) - Static method in class jadex.bytecode.access.InstAccess
-
Main class for testing.
- main(String[]) - Static method in class jadex.bytecode.Proxy
-
Main for testing.
- makeBasicType(InsnList, Type) - Static method in class jadex.bytecode.SASM
-
Make a value a basic type.
- makeObject(InsnList, Type) - Static method in class jadex.bytecode.SASM
-
Make a value to an object.
- makeObject(InsnList, Type, int) - Static method in class jadex.bytecode.SASM
-
Make a value to an object.
- makeReturn(InsnList, Type) - Static method in class jadex.bytecode.SASM
-
Make a suitable return statement.
- method - Variable in class jadex.bytecode.invocation.SInvocation.FallBackInvoker
-
The method.
N
- NAME_SUFFIX_COUNTER - Static variable in class jadex.bytecode.invocation.SInvocation
-
Class name suffix counter.
- newAccessor(Class<T>, Class<?>, Object) - Static method in class jadex.bytecode.invocation.SInvocation
-
Creates a new accessor from an accessor class.
- newExtractor(Class<IExtractor>) - Static method in class jadex.bytecode.invocation.SInvocation
- newInvoker(Class<?>) - Static method in class jadex.bytecode.invocation.SInvocation
-
Instantiate a new method invoker from the invoker class.
- newInvoker(Method) - Static method in class jadex.bytecode.invocation.SInvocation
-
Creates a new invoker for a method.
- newInvoker(Method, IByteCodeClassLoader) - Static method in class jadex.bytecode.invocation.SInvocation
-
Creates a new invoker for a method.
- newProxyInstance(ClassLoader, Class<?>[], InvocationHandler) - Static method in class jadex.bytecode.Proxy
-
Generate a proxy for an existing class.
- newProxyInstance(ClassLoader, Class<?>[], InvocationHandler) - Static method in class jadex.bytecode.ProxyFactory
-
Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.
- newProxyInstance(ClassLoader, Class<?>, Class<?>[], InvocationHandler) - Static method in class jadex.bytecode.Proxy
-
Generate a proxy for an existing class.
O
- OBJECTMETHODS - Static variable in class jadex.bytecode.Proxy
P
- premain(String, Instrumentation) - Static method in class jadex.bytecode.access.AccessAgent
-
Agent in premain mode (unimplemented).
- prepareParameters(MethodVisitor, Class<?>[]) - Static method in class jadex.bytecode.invocation.SInvocation
-
Readies the parameters for delegated method invocation.
- PRIVATE_ACCESS - Static variable in class jadex.bytecode.invocation.SInvocation
-
Flag if private access via ASM is available.
- Proxy - Class in jadex.bytecode
-
Proxy class allows for generating proxy objects for interfaces and/or one class.
- Proxy() - Constructor for class jadex.bytecode.Proxy
- ProxyFactory - Class in jadex.bytecode
-
Create a proxy with standard Java or per Jadex ASM.
- ProxyFactory() - Constructor for class jadex.bytecode.ProxyFactory
- pushImmediate(InsnList, int) - Static method in class jadex.bytecode.SASM
-
Push an immediate (constant) integer value onto the stack with the best set of instructions.
- pushImmediate(InsnList, long) - Static method in class jadex.bytecode.SASM
-
Push an immediate (constant) long value onto the stack with the best set of instructions.
- put(Object[], Class<?>) - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- putAll(Map<? extends Object[], ? extends Class<?>>) - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
R
- redefineClass(Class<?>, byte[]) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Redefine class byte code.
- redefineClassIndirect(Class<?>, byte[]) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Redefine class byte code.
- remove(Object) - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- requiresparentloader - Variable in class jadex.bytecode.invocation.SInvocation.ExtendedClassWriter
-
Flag whether the resulting class requires the class loader parent.
- requiresParentLoader() - Method in class jadex.bytecode.invocation.SInvocation.ExtendedClassWriter
-
Returns flag whether the resulting class requires the class loader parent
- run(Instrumentation) - Method in class jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
-
Custom command code.
- runInstrumentationCommand(VmHacks.InstrumentationCommand) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Run an instrumentation command
S
- SASM - Class in jadex.bytecode
-
Static ASM helper methods.
- SASM() - Constructor for class jadex.bytecode.SASM
- sem - Variable in class jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
-
The semaphore.
- SHARED_CLASSLOADERS - Static variable in class jadex.bytecode.SASM
-
Shared ClassLoader cache.
- SHARED_LOADERS_MODE - Static variable in class jadex.bytecode.SASM
-
Enables the shared bytecode classloader mode.
- SInvocation - Class in jadex.bytecode.invocation
-
Factory for providing fast reflective access to methods.
- SInvocation() - Constructor for class jadex.bytecode.invocation.SInvocation
- SInvocation.AccessTestClass - Class in jadex.bytecode.invocation
-
Class used to test access level via ASM.
- SInvocation.ExtendedClassWriter - Class in jadex.bytecode.invocation
-
Class writer with some meta information.
- SInvocation.FallBackInvoker - Class in jadex.bytecode.invocation
-
Fallback invoker using reflection in case a byte-engineered variant is not available.
- SInvocation.SortingInjectorWrapper - Class in jadex.bytecode.invocation
- size() - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- SortingInjectorWrapper() - Constructor for class jadex.bytecode.invocation.SInvocation.SortingInjectorWrapper
T
- TEMP_JAR_DIR - Static variable in class jadex.bytecode.access.InstAccess
-
Directory for temporary jar files.
- TEMP_JAR_DIR - Static variable in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Directory for temporary jar files.
- toClass(String, byte[], ClassLoader, ProtectionDomain) - Static method in class jadex.bytecode.SASM
-
Transform byte Array into Class and define it in classloader.
- toString() - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Debug message.
- transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class jadex.bytecode.access.AccessAgent
-
Transforms a class using instrumentation.
- tryChangeUser(String) - Method in class jadex.bytecode.vmhacks.VmHacks.Unsafe
-
Attempts to change the user of the process to the given name.
U
- useasm - Static variable in class jadex.bytecode.ProxyFactory
V
- values() - Method in class jadex.bytecode.vmhacks.ClassStore
-
Override
- VmHacks - Class in jadex.bytecode.vmhacks
-
Class providing various means of getting around VM restrictions.
- VmHacks() - Constructor for class jadex.bytecode.vmhacks.VmHacks
- VmHacks.InstrumentationCommand - Class in jadex.bytecode.vmhacks
-
Instrumentation command issued to the instrumentation agent.
- VmHacks.Unsafe - Class in jadex.bytecode.vmhacks
-
Access to unsafe operations.
- VmHacksAgent - Class in jadex.bytecode.vmhacks
-
Agent for acquiring instrumentation access.
- VmHacksAgent() - Constructor for class jadex.bytecode.vmhacks.VmHacksAgent
All Classes and Interfaces|All Packages|Serialized Form