Uses of Class
org.aopalliance.instrument.InstrumentationError
Packages that use InstrumentationError
Package
Description
This package provides an API for program instrumentation.
-
Uses of InstrumentationError in org.aopalliance.instrument
Methods in org.aopalliance.instrument that throw InstrumentationErrorModifier and TypeMethodDescriptionInstrumentor.addAfterCode(CodeLocator location, Code afterCode, Instrumentation before, Instrumentation after) Adds some code after a given method code body.Instrumentor.addAroundCode(CodeLocator location, Code aroundCode, String proceedMethodName, Instrumentation before, Instrumentation after) Adds some code around a given method code body.Instrumentor.addBeforeCode(CodeLocator location, Code beforeCode, Instrumentation before, Instrumentation after) Adds some code before a given method code body.Instrumentor.addClass(ClassLocator location, String className) Introduces a class into the class location (mixin).Instrumentor.addField(ClassLocator location, String name, String typeName, Code initializator) Adds a new field to the target class.Instrumentor.addInterface(ClassLocator location, String newInterfaceName) Adds a new implemented interface to a given class location.Instrumentor.addMethod(ClassLocator location, String name, String[] parameterTypeNames, String[] parameterNames, Code body) Adds a new method to the class location.Instrumentor.createClass(String name) Creates a new class.Instrumentor.setSuperClass(ClassLocator location, String newSuperClassName) Sets or replaces the current superclass of a class location.