| Package | Description |
|---|---|
| org.jboss.classfilewriter | |
| org.jboss.classfilewriter.attributes | |
| org.jboss.classfilewriter.code | |
| org.jboss.weld.bean.proxy |
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc.
|
| Modifier and Type | Method and Description |
|---|---|
ClassMethod |
ClassFile.addConstructor(Constructor<?> method)
Adds a constructor with the same signiture as the given constrcutor, including exception types
|
ClassMethod |
ClassFile.addMethod(int accessFlags,
String name,
String returnType,
String... parameters) |
ClassMethod |
ClassFile.addMethod(Method method)
Adds a method with the same signiture as the given method, including exception types
|
| Modifier and Type | Method and Description |
|---|---|
Set<ClassMethod> |
ClassFile.getMethods() |
| Constructor and Description |
|---|
StackMapTableAttribute(ClassMethod classMethod,
ConstPool constPool) |
| Constructor and Description |
|---|
CodeAttribute(ClassMethod method,
ConstPool constPool) |
LocalVariableState(ClassMethod method)
construct the initial local variable state for a method
|
StackFrame(ClassMethod method)
Creates the initial stack frame
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProxyFactory.addConstructedGuardToMethodBody(ClassMethod classMethod)
Adds the following code to a delegating method:
if(!this.constructed) return super.thisMethod()
This means that the proxy will not start to delegate to the underlying
bean instance until after the constructor has finished. |
protected void |
ProxyFactory.addMethods(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected void |
InterceptedSubclassFactory.addMethods(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected void |
ProxyFactory.addMethodsFromClass(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected void |
InterceptedSubclassFactory.addMethodsFromClass(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected void |
DecoratorProxyFactory.addMethodsFromClass(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected void |
ProxyFactory.addSpecialMethods(ClassFile proxyClassType,
ClassMethod staticConstructor)
Adds methods requiring special implementations rather than just
delegation.
|
protected void |
InterceptedSubclassFactory.addSpecialMethods(ClassFile proxyClassType,
ClassMethod staticConstructor)
Adds methods requiring special implementations rather than just
delegation.
|
protected void |
EnterpriseProxyFactory.addSpecialMethods(ClassFile proxyClassType,
ClassMethod staticConstructor) |
protected void |
ProxyFactory.createForwardingMethodBody(ClassMethod classMethod,
MethodInformation method,
ClassMethod staticConstructor) |
protected void |
InterceptedSubclassFactory.createForwardingMethodBody(ClassMethod classMethod,
MethodInformation method,
ClassMethod staticConstructor) |
protected void |
ClientProxyFactory.createForwardingMethodBody(ClassMethod classMethod,
MethodInformation methodInfo,
ClassMethod staticConstructor)
Calls methodHandler.invoke with a null method parameter in order to
get the underlying instance.
|
protected void |
InterceptedSubclassFactory.createInterceptorBody(ClassMethod method,
MethodInformation methodInfo,
boolean delegateToSuper,
ClassMethod staticConstructor)
Creates the given method on the proxy class where the implementation
forwards the call directly to the method handler.
|
protected void |
ProxyFactory.createInterceptorBody(ClassMethod classMethod,
MethodInformation method,
ClassMethod staticConstructor)
Creates the given method on the proxy class where the implementation
forwards the call directly to the method handler.
|
protected void |
ProxyFactory.createSpecialMethodBody(ClassMethod proxyClassType,
MethodInformation method,
ClassMethod staticConstructor) |
protected void |
ProxyFactory.generateGetMethodHandlerBody(ClassMethod method) |
protected void |
ProxyFactory.generateSetMethodHandlerBody(ClassMethod method) |
void |
DefaultBytecodeMethodResolver.getDeclaredMethod(ClassMethod classMethod,
String declaringClass,
String methodName,
String[] parameterTypes,
ClassMethod staticConstructor) |
void |
DecoratorProxyFactory.TargetInstanceBytecodeMethodResolver.getDeclaredMethod(ClassMethod classMethod,
String declaringClass,
String methodName,
String[] parameterTypes,
ClassMethod staticConstructor) |
void |
BytecodeMethodResolver.getDeclaredMethod(ClassMethod classMethod,
String declaringClass,
String methodName,
String[] parameterTypes,
ClassMethod staticConstructor) |
protected void |
InterceptedSubclassFactory.invokeMethodHandler(ClassMethod method,
MethodInformation methodInfo,
boolean addReturnInstruction,
BytecodeMethodResolver bytecodeMethodResolver,
boolean addProceed,
ClassMethod staticConstructor)
calls methodHandler.invoke for a given method
|
protected void |
ProxyFactory.invokeMethodHandler(ClassMethod classMethod,
MethodInformation method,
boolean addReturnInstruction,
BytecodeMethodResolver bytecodeMethodResolver,
ClassMethod staticConstructor)
calls methodHandler.invoke for a given method
|
Copyright © 2015. All Rights Reserved.