A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(MethodVisitor) - Method in class org.jboss.byteman.agent.adapter.BMInsnList
- access - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- ACCESS_READ - Static variable in class org.jboss.byteman.agent.Location
-
flag indicating that a field access location refers to field READ operations
- ACCESS_WRITE - Static variable in class org.jboss.byteman.agent.Location
-
flag indicating that a field access location refers to field WRITE operations
- AccessEnabler - Interface in org.jboss.byteman.agent
-
interface encapsulating behaviour required both to check for the need to access a member reflectively and to ensure that the member can be so used.
- AccessibleConstructorInvoker - Interface in org.jboss.byteman.agent
-
Created by adinn on 01/11/16.
- AccessibleFieldGetter - Interface in org.jboss.byteman.agent
-
Created by adinn on 01/11/16.
- AccessibleFieldSetter - Interface in org.jboss.byteman.agent
-
Created by adinn on 01/11/16.
- AccessibleMethodInvoker - Interface in org.jboss.byteman.agent
-
Created by adinn on 01/11/16.
- AccessManager - Class in org.jboss.byteman.agent
-
Class used to construct an AccessEnabler appropriate to the JDK Byteman is running in i.e.
- AccessManager() - Constructor for class org.jboss.byteman.agent.AccessManager
- action() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- Action - Class in org.jboss.byteman.rule
-
class which represents a rule action comprising a void expression
- Action(Rule) - Constructor for class org.jboss.byteman.rule.Action
- Action(Rule, ParseNode) - Constructor for class org.jboss.byteman.rule.Action
- action_obj - Variable in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- action_table() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- ActionClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.ActionClause
- activated() - Static method in class org.jboss.byteman.rule.helper.Helper
- activated() - Static method in class org.jboss.byteman.sample.helper.JMXHelper
-
helper activation method which creates a periodic helper thread to perform periodic calls to the trigger method.
- activated() - Static method in class org.jboss.byteman.sample.helper.PeriodicHelper
-
helper activation method which creates a periodic helper thread to perform periodic calls to the trigger method.
- activated() - Static method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
Looks to the org.jboss.byteman.sample.helper.debug system property to set the class DEBUG mode flag.
- add(int) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
aopend an instruction to the current block
- add(int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
add an instruction to the sequence
- add(int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append an instruction with one operand to the current block
- add(int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
add an instruction with one encoded argument to the sequence
- add(int, int[]) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append an operand with more than two operands ot the current block
- add(int, int[]) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
add an instruction with an arbitrary number of encoded arguments to the sequence
- add(int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append an instruction with two operands to the current block
- add(int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
add an instruction with two encoded arguments to the sequence
- add(int, int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
add an instruction with three encoded arguments to the sequence
- add(int, int, int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
add an instruction with four encoded arguments to the sequence
- add(int, String) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append an instruction with a String operand to the current block
- add(int, String, int) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append a multiarray create instruction to the current block
- add(int, String, String) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append an invokedynamic instruction with 2 String operands to the current block
- add(int, String, String, String) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append a field instruction with 3 String operands to the current block
- add(int, String, String, String, boolean) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
append a method instruction with 3 String operands and a boolean operand to the current block
- add(Transform) - Method in class org.jboss.byteman.agent.TransformSet
- ADD - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - addAccessibleConstructorInvoker(Constructor) - Method in class org.jboss.byteman.rule.Rule
- addAccessibleFieldGetter(Field) - Method in class org.jboss.byteman.rule.Rule
- addAccessibleFieldSetter(Field) - Method in class org.jboss.byteman.rule.Rule
- addAccessibleMethodInvoker(Method) - Method in class org.jboss.byteman.rule.Rule
- addBindings(List<Binding>) - Method in class org.jboss.byteman.rule.binding.Bindings
-
add the method parameter bindings to the front of the list n.b.
- addChild(Thread) - Method in class org.jboss.byteman.synchronization.Joiner
- addClass(String, byte[]) - Method in class org.jboss.byteman.modules.ClassbyteClassLoader
- addClassConfigLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- addClassMultiRuleLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- addClassMultiScriptLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- addClassSingleRuleLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- addClassSingleScriptLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- addCountDown(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
alias for createCountDown provided for backwards compatibility
- ADDED - org.jboss.byteman.synchronization.Joiner.Status
-
an ADDED status is returned when a child successfully adds itself to the join list but without reaching the expected number of children
- addError(String) - Method in class org.jboss.byteman.check.RuleCheckResult
- addExceptionTypes(String[]) - Method in class org.jboss.byteman.rule.type.TypeGroup
- addHandlerStarts(List<TryCatchDetails>) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
record details of a try catch block handler which starts in this block
- addInfo(String) - Method in class org.jboss.byteman.check.RuleCheckResult
- addJarsToBootClassloader(List<String>) - Method in class org.jboss.byteman.agent.submit.Submit
-
This adds the given list of files to the Byteman agent's boot classloader.
- addJarsToSystemClassloader(List<String>) - Method in class org.jboss.byteman.agent.submit.Submit
-
This adds the given list of files to the Byteman agent's system classloader.
- addKey(String) - Method in class org.jboss.byteman.sample.helper.KeyInfo
- addKey(String, int) - Method in class org.jboss.byteman.sample.helper.KeyInfo
- addKey(String, int, String) - Method in class org.jboss.byteman.sample.helper.KeyInfo
- addLocalCount(int) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- addLocalCount(int) - Method in class org.jboss.byteman.rule.compiler.StackHeights
-
increment the local count and return this to allow chaining
- addMethodConfigLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- addMethodMultiRuleLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
-
wrap the test method execution statement with the necessary load and unload calls if it has a BMRules annotation
- addMethodMultiScriptLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
-
wrap the test method execution statement with the necessary load and unload calls if it has a BMScripts annotation
- addMethodSingleRuleLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
-
wrap the test method execution statement with the necessary load and unload calls if it has a BMRule annotation
- addMethodSingleScriptLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
-
wrap the test method execution statement with the necessary load and unload calls if it has a BMScript annotation
- addOpenEnter(CodeLocation) - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
-
add a new monitor enter location to the list of open locations associated with this handler maintaining the reverse position ordering
- addOpenLocations(List<CodeLocation>) - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
-
add all the open locations associated with this handler to the supplied list of open locations maintaining the reverse position ordering
- addPackage(String) - Method in class org.jboss.byteman.check.RuleCheck
- addParseError(String) - Method in class org.jboss.byteman.check.RuleCheckResult
- addRule(String, String) - Method in class org.jboss.byteman.check.RuleCheck
- addRuleFile(String) - Method in class org.jboss.byteman.check.RuleCheck
- addRules(Map<String, String>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deprecated.
- addRulesFromFiles(List<String>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deploys rules into Byteman, where the rule definitions are found in the local files found at the given paths.
- addRulesFromResources(List<InputStream>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deploys rules into Byteman, where the rule definitions are found in the given streams.
- addScript(RuleScript) - Method in class org.jboss.byteman.agent.ScriptRepository
-
add a rule script to the repository returning any existing script with the same name or null if no such script can be found.
- addScripts(List<ScriptText>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deploys rule scripts into Byteman
- addShadowRegion(TryCatchDetails) - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
-
add a shadowing region to the list of regions which shadow this one
- addStackCount(int) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- addStackCount(int) - Method in class org.jboss.byteman.rule.compiler.StackHeights
-
increment the stack count and return this to allow chaining
- addTryEnds(List<TryCatchDetails>) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
record details of a try catch block which ends in this block
- addTryStarts(List<TryCatchDetails>) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
record details of a try catch block which starts in this block
- addTypeError(String) - Method in class org.jboss.byteman.check.RuleCheckResult
- addTypeWarning(String) - Method in class org.jboss.byteman.check.RuleCheckResult
- addWarning(String) - Method in class org.jboss.byteman.check.RuleCheckResult
- after(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked
AFTER
point which is specified with parameter. - afterInvocation(IInvokedMethod, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- afterInvoke(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method.
- afterInvoke(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method where
occurencePosition
definesNth
textual occurrence of the method invocation. - afterRead(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method reads a variable.
- afterRead(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method reads a variable where
occurencePosition
definesNth
textual occurrence of the field access. - afterSynchronize() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method.
Location specifier is set asAFTER SYNCHRONIZE
. - afterSynchronize(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method where
occurencePosition
definesNth
textual occurrence of the method invocation. - afterWrite(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method writes to a variable.
- afterWrite(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method writes to a variable where
occurencePosition
definesNth
textual occurrence of the field write. - AGENT_HOST - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property specifying the host to be used when starting the agent and when submitting rules to it.
- AGENT_INHIBIT - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which inhibits automatic loading of the agent.
- AGENT_POLICY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property specifying whether to set a security policy when loading the agent.
- AGENT_PORT - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property specifying the port to be used when starting the agent and when submitting rules to it.
- agentHost() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
agentHost specifies the hostname which will be used when opening a client connection to the Byteman agent listener.
- agentmain(String, Instrumentation) - Static method in class org.jboss.byteman.agent.Main
- agentPort() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
agentPort specifies the port which will be used when opening a client connection to the Byteman agent listener.
- aliasTo(Binding) - Method in class org.jboss.byteman.rule.binding.Binding
- aliasTo(Type) - Method in class org.jboss.byteman.rule.type.Type
-
attempt to establish an alias from an package unqualified named object type to a package qualified named object type whose unqualified name equals this type's name
- ALLOW_CONFIG_UPDATE - Static variable in class org.jboss.byteman.agent.Transformer
-
system property which determines whether or not byteman configuration can be updated at runtime via the byteman agent listener
- allowAgentConfigUpdate() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
allowAgentConfigUpdate determines whether or not the various Byteman property settings specified when the agent is uploaded can be reconfigured while the agent is running.
- allowConfigUpdate() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether changes to org.jboss.byteman.* system properties will affect the agent configuration.
- allTransforms() - Method in class org.jboss.byteman.agent.RuleScript
- AND - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - AND - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- AND - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- AND - Static variable in class org.jboss.byteman.rule.grammar.sym
- append(int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
add an instruction to the sequence in the block
- append(int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
add an instruction with one int operand to thhe sequence in the block
- append(int, int[]) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
add an instruction with an arbitrary number of int operands to thhe sequence in the block
- append(int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
add an instruction with two int operands to the sequence in the block
- append(int, int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
add an instruction with three int operands to thhe sequence in the block
- append(int, int, int, int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
add an instruction with four int operands to the sequence in the block
- append(Binding) - Method in class org.jboss.byteman.rule.binding.Bindings
-
append a binding to the end of the currrent bindings list
- append(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
install an outgoing normal control flow link
- append(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.FanOut
-
add a new link to the target set
- appendJarFile(PrintWriter, JarFile, boolean) - Method in class org.jboss.byteman.agent.Retransformer
- ArithmeticExpression - Class in org.jboss.byteman.rule.expression
-
A binary arithmetic operator expression
- ArithmeticExpression(Rule, int, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.ArithmeticExpression
- ARRAY - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- ARRAY_INIT - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- ArrayExpression - Class in org.jboss.byteman.rule.expression
-
an expression which identifies an array reference.
- ArrayExpression(Rule, Type, ParseNode, Expression, List<Expression>) - Constructor for class org.jboss.byteman.rule.expression.ArrayExpression
- ArrayInitExpression - Class in org.jboss.byteman.rule.expression
-
Created by adinn on 27/05/15.
- ArrayInitExpression(Rule, Type, ParseNode, List<Expression>) - Constructor for class org.jboss.byteman.rule.expression.ArrayInitExpression
- arrayLength() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to compute the length of an array.
- arrayLoad(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to load an element from an array.
- arrayStore(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to store an element in an array.
- arrayType() - Method in class org.jboss.byteman.rule.type.Type
-
create an array type from this base type
- arrayType(Class) - Method in class org.jboss.byteman.rule.type.Type
-
create an array type from this base type
- arrived - Variable in class org.jboss.byteman.synchronization.Rendezvous.Counter
-
count of the number of threads actually arrived at this rendezvous
- assertKnownInstances(int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known, distinct object instances of this class is as stated.
- assertMethodCallCount(String, int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known invocations of the given method is specified count.
- assertMethodCallCount(String, String, int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known invocations of the given method is specified count.
- assertMethodCallCount(String, String, CallCount) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known invocations of the given method falls within the specified range for each known instances of the class.
- assertMethodCallCount(String, String, CallCount) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedInstance
-
Checks that the number of known invocations of the given method falls within the specified range.
- assertMethodCalled(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the given method has been called at least once on each known instance of the class.
- assertMethodNotCalled(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the given method has not been seen to be called on any known instance of the class.
- assertSumMethodCallCount(String, int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Check that number of known invocations of the given method of all known instances is specified count.
Difference againstInstrumentedClass.assertMethodCallCount(String, int)
is that here we query against all know instances. - ASSIGN - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- ASSIGN - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- ASSIGN - Static variable in class org.jboss.byteman.rule.grammar.sym
- AssignableExpression - Class in org.jboss.byteman.rule.expression
-
an expression which can appear on the left hand side of an assignment expression as well as in any other expression context.
- AssignableExpression(Rule, Type, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.AssignableExpression
-
Create a new expression.
- AssignExpression - Class in org.jboss.byteman.rule.expression
-
A binary string concatenation operator expression
- AssignExpression(Rule, ParseNode, AssignableExpression, Expression) - Constructor for class org.jboss.byteman.rule.expression.AssignExpression
- at(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- at(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked
AT
point which is specified with parameter. - atEntry() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- atEntry() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at entry point of method.
- atExceptionExit() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Identifies the point where a method returns control back to its caller via unhandled exceptional control flow.
- atExit() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- atExit() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at exit point of method.
- atInvoke(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point of invocation of method within the trigger method.
- atInvoke(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point of invocation of method within the trigger method where
occurencePosition
definesNth
textual occurrence of the method invocation. - atLine(int) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- atLine(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at specific line of code within the method.
- atRead(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method reads a variable.
- atRead(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method reads a variable where
occurencePosition
definesNth
textual occurrence of the field access. - atSynchronize() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at entry of synchronization block in the target method.
- atSynchronize(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point of invocation of method within the trigger method where
occurencePosition
definesNth
textual occurrence of the method invocation. - atThrow() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Identifies a throw operation within the trigger method.
- atThrow(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Identifies a throw operation within the trigger method, specified with count as Nth textual occurrence of a throw inside of the method defining only that occurrence to trigger execution of the rule.
- atWrite(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method writes to a variable.
- atWrite(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method writes to a variable where
occurencePosition
definesNth
textual occurrence of the field write. - availableVMs() - Static method in class org.jboss.byteman.agent.install.Install
B
- B - Static variable in class org.jboss.byteman.rule.type.Type
- BAND - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- BAND - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- BAND - Static variable in class org.jboss.byteman.rule.grammar.sym
- BBlock - Class in org.jboss.byteman.agent.adapter.cfg
-
A Basic Block represents a segment of bytecode in a control flow graph.
- BBlock(CFG, Label, int) - Constructor for class org.jboss.byteman.agent.adapter.cfg.BBlock
-
construct a new basic block
- beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- bestMatchCandidate(List<Method>, Type) - Method in class org.jboss.byteman.rule.expression.MethodExpression
-
return the method whose signature is the best fit for the call argument types.
- BINARY - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- BinaryOperExpression - Class in org.jboss.byteman.rule.expression
-
binary operators includes arithmetic and comparison operators
- BinaryOperExpression(Rule, int, Type, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.BinaryOperExpression
- bind() - Method in class org.jboss.byteman.rule.expression.ArrayExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.ArrayInitExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.AssignExpression
- bind() - Method in class org.jboss.byteman.rule.expression.BinaryOperExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.BooleanLiteral
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.ClassLiteralExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.DollarExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.Expression
-
verify that variables mentioned in this expression are actually available in the rule bindings list
- bind() - Method in class org.jboss.byteman.rule.expression.FieldExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.MethodExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.NewExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list
- bind() - Method in class org.jboss.byteman.rule.expression.NullLiteral
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.NumericLiteral
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.ReturnExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.StaticExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.StringLiteral
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.TernaryOperExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.ThrowExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.UnaryOperExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind() - Method in class org.jboss.byteman.rule.expression.Variable
-
verify that variables mentioned in this expression are actually available in the supplied bindings list and infer/validate the type of this expression or its subexpressions where possible
- bind(boolean) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- bind(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Definition of bind clause.
- BIND - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- BIND - Static variable in class org.jboss.byteman.rule.grammar.sym
- BIND_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index for any variable introduced in a BINDS clause
- bindAssign() - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- bindAssign() - Method in class org.jboss.byteman.rule.expression.AssignableExpression
-
bind as an assignable expression.
- bindAssign() - Method in class org.jboss.byteman.rule.expression.DollarExpression
-
verify that variables mentioned in this expression are actually available in the supplied bindings list.
- bindAssign() - Method in class org.jboss.byteman.rule.expression.FieldExpression
-
treat this as a normal bind because an update to a field reference does not update any bindings
- bindAssign() - Method in class org.jboss.byteman.rule.expression.StaticExpression
-
treat this as a normal bind because an update to a field reference does not update any bindings
- bindAssign() - Method in class org.jboss.byteman.rule.expression.Variable
-
verify that variables mentioned in this expression are actually available in the supplied bindings list.
- binding() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- Binding - Class in org.jboss.byteman.rule.binding
-
Class used to store a binding of a named variable to a value of some given type
- Binding(Rule, String) - Constructor for class org.jboss.byteman.rule.binding.Binding
- Binding(Rule, String, Type) - Constructor for class org.jboss.byteman.rule.binding.Binding
- Binding(Rule, String, Type, Expression) - Constructor for class org.jboss.byteman.rule.binding.Binding
- bindingMap - Variable in class org.jboss.byteman.rule.helper.InterpretedHelper
- Bindings - Class in org.jboss.byteman.rule.binding
-
* an ordered list of ECA rule event bindings as they occur in the event specification
- Bindings() - Constructor for class org.jboss.byteman.rule.binding.Bindings
- BINOP - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- BitExpression - Class in org.jboss.byteman.rule.expression
-
A binary arithmetic operator expression
- BitExpression(Rule, int, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.BitExpression
- BMInsnList - Class in org.jboss.byteman.agent.adapter
- BMInsnList(List) - Constructor for class org.jboss.byteman.agent.adapter.BMInsnList
- BMJSRInliner - Class in org.jboss.byteman.agent.adapter
-
a modified version of JSRInliner which uses a slightly modified version of JSRInlinerAdapter to ensure that local variable scopes are notified during code visits
- BMJSRInliner(ClassVisitor) - Constructor for class org.jboss.byteman.agent.adapter.BMJSRInliner
- BMJSRInlinerAdapter - Class in org.jboss.byteman.agent.adapter
-
a subclass of JSRInlinerAdapter which pushes local variable info through to the next adapter inline during code generation if it wants it
- BMJSRInlinerAdapter(MethodVisitor, int, String, String, String, String[]) - Constructor for class org.jboss.byteman.agent.adapter.BMJSRInlinerAdapter
- BMLocalScopeAdapter - Class in org.jboss.byteman.agent.adapter
-
a class adapter which uses to ensure that local variable scopes are notified during code visits
- BMLocalScopeAdapter(ClassVisitor) - Constructor for class org.jboss.byteman.agent.adapter.BMLocalScopeAdapter
- BMLocalScopeMethodAdapter - Class in org.jboss.byteman.agent.adapter
-
a subclass of JSRInlinerAdapter which pushes local variable info through to the next adapter inline during code generation if it wants it
- BMLocalScopeMethodAdapter(MethodVisitor, int, String, String, String, String[]) - Constructor for class org.jboss.byteman.agent.adapter.BMLocalScopeMethodAdapter
-
creates a method node with an instruction list which notifies local var scope start and end events.
- BMNGAbstractRunner - Class in org.jboss.byteman.contrib.bmunit
-
An abstract class which provides the ability to load Byteman rules into TestNG style tests.
- BMNGAbstractRunner() - Constructor for class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
- bmngAfterClass() - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
-
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to the subclass are unloaded automatically after executing all of its test methods.
- bmngAfterClass(Class<?>) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
-
provides behaviour to unload rules specified via BMScript or BMRule annotations attached to the supplied test class.
- bmngAfterTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
-
provides behaviour to unload rules specified via annotations associated with a specific method of a test class.
- bmngAfterTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
-
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to a test method are unloaded automatically before executing the method.
- bmngBeforeClass() - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
-
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to the subclass are loaded automatically before executing any of its test methods.
- bmngBeforeClass(Class<?>) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
-
provides behaviour to load rules specified via BMScript or BMRule annotations attached to the supplied test class.
- bmngBeforeTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
-
provides behaviour to load rules specified via annotations associated with a specific method of a test class.
- bmngBeforeTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
-
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to a test method are unloaded automatically before executing the method.
- BMNGListener - Class in org.jboss.byteman.contrib.bmunit
-
Class which provides the ability to load Byteman rules into TestNG style tests.
- BMNGListener() - Constructor for class org.jboss.byteman.contrib.bmunit.BMNGListener
- BMNGRunner - Class in org.jboss.byteman.contrib.bmunit
-
A TestNG runner class which can be subclassed by a test class in order to inherit the ability to process @BMRule and @BMScript annotations.
- BMNGRunner() - Constructor for class org.jboss.byteman.contrib.bmunit.BMNGRunner
- BMRule - Annotation Type in org.jboss.byteman.contrib.bmunit
-
Annotation to attach a Byteman rule to a class or method
- BMRules - Annotation Type in org.jboss.byteman.contrib.bmunit
-
Annotation to attach multiple Byteman rules to a class or method
- BMRunnerUtil - Class in org.jboss.byteman.contrib.bmunit
-
Class bundling sone utility ethods used by both JUnit and TestNG runner classes
- BMRunnerUtil() - Constructor for class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
- BMScript - Annotation Type in org.jboss.byteman.contrib.bmunit
-
Annotation attached to a test class or a test method identifying a Byteman rule file to be loaded before running tests and unloaded after running tests.
- BMScripts - Annotation Type in org.jboss.byteman.contrib.bmunit
-
Annotation attached to a test class or a test method identifying one or more Byteman rule files to be loaded before running tests and unloaded after running tests.
- BMTestCase - Class in org.jboss.byteman.contrib.bmunit
-
A subclass of the JUnit test case class which looks for a byteman rule file with the same name as the test case and loads it during setup then removes it during teardown
- BMTestCase() - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
- BMTestCase(String) - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
- BMTestCase(String, String) - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
- BMUnit - Class in org.jboss.byteman.contrib.bmunit
-
Byteman Unit test manager class which provides support for loading and unloading scripts.
- BMUnit() - Constructor for class org.jboss.byteman.contrib.bmunit.BMUnit
- BMUNIT_VERBOSE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which enables tracing of bmunit activity
- BMUnitConfig - Annotation Type in org.jboss.byteman.contrib.bmunit
-
annotation to allow configuration of BMUnit operation directly from test classes rather than via use of system variables a BMUnitConfig annotation may be attached to a test method (or test class) to specify the BMUnit and Byteman configuration which should be employed when the associated test(s) is (are) run.
- BMUnitConfigState - Class in org.jboss.byteman.contrib.bmunit
-
class used to model a specific BMUnit configuration
- BMUnitRunner - Class in org.jboss.byteman.contrib.bmunit
-
Specialisation of the BlockJUnit4ClassRunner Runner class which can be attached to a text class using the @RunWith annotation.
- BMUnitRunner(Class<?>) - Constructor for class org.jboss.byteman.contrib.bmunit.BMUnitRunner
-
Creates a BMUnitRunner to run test in
klass
- bmunitVerbose() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
bmunitVerbose configures the BMUnit verbose setting which controls printing of trace related to the operation of the BMUnit package
- BOOLEAN - Static variable in class org.jboss.byteman.rule.type.Type
- BOOLEAN_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- BOOLEAN_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- BooleanExpression - Class in org.jboss.byteman.rule.expression
-
A binary arithmetic operator expression
- BooleanExpression(Rule, int, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.BooleanExpression
- BooleanLiteral - Class in org.jboss.byteman.rule.expression
-
A binary logical operator expression
- BooleanLiteral(Rule, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.BooleanLiteral
- BOR - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- BOR - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- BOR - Static variable in class org.jboss.byteman.rule.grammar.sym
- box(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to box the top stack value.
- boxType(Class) - Static method in class org.jboss.byteman.rule.type.Type
-
return the primitive type whose boxed equivalent is associated with a given class
- boxType(Type) - Static method in class org.jboss.byteman.rule.type.Type
-
return the primitive type for a boxed type or vice versa
- build() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Builds the rule defined by this instance of
RuleConstructor
and returns its representation as string. - builtinType(Class) - Static method in class org.jboss.byteman.rule.type.Type
-
return the builtin type associated with a given class
- BXOR - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- BXOR - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- BXOR - Static variable in class org.jboss.byteman.rule.grammar.sym
- BYTE - Static variable in class org.jboss.byteman.rule.type.Type
- BytecodeChecker - Class in org.jboss.byteman.agent.check
-
a private class which can be used to derive the super and interfaces of a class from its defining bytecode
- BytecodeChecker(byte[]) - Constructor for class org.jboss.byteman.agent.check.BytecodeChecker
- BYTEMAN_AGENT_LOADED - Static variable in class org.jboss.byteman.agent.Main
- BYTEMAN_ALLOW_CONFIG_UPDATE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which enables tracing of Byteman activity
- BYTEMAN_DEBUG - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which enables printing of Byteman rule debug statements
- BYTEMAN_DUMP_GENERATED_CLASSES - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which enables dumping of generated classes
- BYTEMAN_DUMP_GENERATED_CLASSES_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which configures directory path for files used for dumping of generated classes
- BYTEMAN_DUMP_GENERATED_CLASSES_INTERMEDIATE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which configures dumping of intermediate versions of generated classes
- BYTEMAN_PACKAGE_PREFIX - Static variable in class org.jboss.byteman.agent.Transformer
-
prefix for byteman package
- BYTEMAN_PREFIX - Static variable in class org.jboss.byteman.agent.Main
- BYTEMAN_SAMPLE_PACKAGE_PREFIX - Static variable in class org.jboss.byteman.agent.Transformer
-
prefix for byteman sample package
- BYTEMAN_TEST_PACKAGE_PREFIX - Static variable in class org.jboss.byteman.agent.Transformer
-
prefix for byteman test package
- BYTEMAN_VERBOSE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which enables tracing of Byteman activity
- BytemanTestHelper - Class in org.jboss.byteman.contrib.dtest
-
Helper class containing functions used by Byteman rules created by the dtest framework.
- BytemanTestHelper(Rule) - Constructor for class org.jboss.byteman.contrib.dtest.BytemanTestHelper
C
- C - Static variable in class org.jboss.byteman.rule.type.Type
- CallCount - Class in org.jboss.byteman.contrib.dtest
-
Represents a number range, for use in expressing the limits on the number of expected methods calls to be observed.
- CallCount(int, int) - Constructor for class org.jboss.byteman.contrib.dtest.CallCount
- callerCheck(String, boolean, boolean, boolean, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied regular expression.
- callerEquals(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of the method which called the the trigger method matches the supplied name by calling callerEquals(name, false)
- callerEquals(String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied name by calling callerEquals(name, includeClass, false)
- callerEquals(String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied name by calling callerEquals(name, includeClass, includePackage, 1)
- callerEquals(String, boolean, boolean, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied name by calling callerCheck(name, false, includeClass, includePackage, 1, frameCount)
- callerEquals(String, boolean, boolean, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied name by calling callerCheck(name, false, includeClass, false, startFrame, frameCount)
- callerEquals(String, boolean, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied name by calling callerEquals(name, includeClass, false, frameCount)
- callerEquals(String, boolean, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied name by calling callerEquals(name, includeClass, false, startFrame, frameCount)
- callerEquals(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied name by calling callerEquals(name, 1, frameCount)
- callerEquals(String, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied name by calling callerEquals(name, false, startFrame, frameCount)
- callerMatches(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of the method which called the the trigger method matches the supplied regular by calling callerMatches(regExp, false)
- callerMatches(String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied regular expression by calling callerMatches(regExp, includeClass, false)
- callerMatches(String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied regular expression by calling callerMatches(regExp, includeClass, includePackage, 1)
- callerMatches(String, boolean, boolean, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied regular expression by calling callerMatches(regExp, includeClass, includePackage, 1, frameCount)
- callerMatches(String, boolean, boolean, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied regular expression by calling callerCheck(regExp, true, includeClass, includePackage, 1, frameCount)
- callerMatches(String, boolean, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied regular expression by calling callerMatches(regExp, includeClass, false, frameCount)
- callerMatches(String, boolean, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of method which called the the trigger method matches the supplied regular expression by calling callerMatches(regExp, includeClass, false, startFrame, frameCount)
- callerMatches(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied regular expression by calling callerMatches(regExp, 1, frameCount)
- callerMatches(String, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether the name of any of the selected methods in the stack which called the trigger method matches the supplied regular expression by calling callerMatches(regExp, false, startFrame, frameCount)
- cast(Type, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to cast a numerical value from one type to another.
- catchException(Label, Label, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Marks the start of an exception handler.
- CFG - Class in org.jboss.byteman.agent.adapter.cfg
-
A control flow graph (cfg) for use by trigger method adapters.
- CFG(String, Label) - Constructor for class org.jboss.byteman.agent.adapter.cfg.CFG
-
construct a CFG labelling the initial block with a given label
- CHARACTER - Static variable in class org.jboss.byteman.rule.type.Type
- charPos - Variable in class org.jboss.byteman.rule.expression.Expression
- checkBindings() - Method in class org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
- checkCast(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to check that the top stack value is of the given type.
- checkerCache - Variable in class org.jboss.byteman.agent.Transformer
- CheckerCache - Class in org.jboss.byteman.agent.check
-
A cache used to avoid repeatedly loading and determining the structural details of classes during traversal of the super and implemented interface chains.
- CheckerCache() - Constructor for class org.jboss.byteman.agent.check.CheckerCache
- checkInterfaces() - Method in class org.jboss.byteman.agent.ScriptRepository
-
see if we need to do any transformation of interfaces
- checkRules() - Method in class org.jboss.byteman.check.RuleCheck
- childrenInvoker(RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- CLASS - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- CLASS - Static variable in class org.jboss.byteman.rule.grammar.sym
- ClassbyteClassLoader - Class in org.jboss.byteman.modules
-
this is a classloader used to define classes from bytecode
- ClassbyteClassLoader(ClassLoader) - Constructor for class org.jboss.byteman.modules.ClassbyteClassLoader
- ClassChecker - Interface in org.jboss.byteman.agent.check
-
interface hiding how we check the names of a class's super, outer class and implemented interfaces.
- ClassClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
- ClassIterator(Class<?>) - Constructor for class org.jboss.byteman.rule.expression.ThrowExpression.ClassIterator
- ClassLiteralExpression - Class in org.jboss.byteman.rule.expression
-
Clas modelling a class literal of the form foo.bar.baz.Mumble.class
- ClassLiteralExpression(Rule, Type, ParseNode, String[]) - Constructor for class org.jboss.byteman.rule.expression.ClassLiteralExpression
- className - Variable in class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
- ClassStructureAdapter - Class in org.jboss.byteman.agent.check
-
a simple and quick adapter used to scan a class's bytecode definition for the name of its superclass, its enclosing class and the interfaces it implements directly
- ClassStructureAdapter() - Constructor for class org.jboss.byteman.agent.check.ClassStructureAdapter
- clear(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
clear the flag keyed by the supplied object if it is not already clear
- clearLinks() - Method in class org.jboss.byteman.rule.helper.Helper
-
clear all links in the default linkmap by indirectly calling clearLinks("default")
- clearLinks(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
clear all current links from the map named by mapName
- clearTransforms() - Method in class org.jboss.byteman.agent.TransformSet
- close() - Method in class org.jboss.byteman.layer.LayerModuleReader
- closeTrace(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
version for backwards compatibility -- docs and original code were mismatched
- CodeLocation - Class in org.jboss.byteman.agent.adapter.cfg
-
a reference to a specific instruction location in a given BBlock
- CodeLocation(BBlock, int) - Constructor for class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- collectAffectedNames(List<RuleScript>, List<String>, List<String>, List<String>, List<String>) - Method in class org.jboss.byteman.agent.Retransformer
- COLON - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- COLON - Static variable in class org.jboss.byteman.rule.grammar.sym
- COMMA - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- COMMA - Static variable in class org.jboss.byteman.rule.grammar.sym
- COMMENT - Static variable in class org.jboss.byteman.rule.grammar.ECATokenLexer
- compareTo(CodeLocation) - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- ComparisonExpression - Class in org.jboss.byteman.rule.expression
-
A binary comparison operator expression
- ComparisonExpression(Rule, int, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.ComparisonExpression
- compile() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Defines rule for being compiled.
- compile() - Method in class org.jboss.byteman.rule.Rule
-
install helper class used to execute this rule.
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.Action
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.binding.Binding
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.Condition
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.Event
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ArithmeticExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ArrayInitExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.AssignExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.BitExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.BooleanLiteral
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ClassLiteralExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ComparisonExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ConditionalEvalExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.LogicalExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.MinusExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.NewExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.NotExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.NullLiteral
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.NumericLiteral
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.PlusExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ReturnExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ShiftExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.StringLiteral
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.StringPlusExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.TwiddleExpression
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.Variable
- compile(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.RuleElement
- COMPILE_TO_BYTECODE - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on compilation of rules and left unset if rules are to be interpreted.
- COMPILE_TO_BYTECODE_COMPATIBILITY - Static variable in class org.jboss.byteman.agent.Transformer
-
retained for compatibility
- compileAssign(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- compileAssign(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.AssignableExpression
-
compile an assignment to the referenced location using the value on the top of the Java stack.
- compileAssign(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- compileAssign(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- compileAssign(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- compileAssign(MethodVisitor, CompileContext) - Method in class org.jboss.byteman.rule.expression.Variable
- compileBooleanConversion(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- compileBox(Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
-
box a value belonging to a primitive type
- compileCheckCast(Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- CompileContext - Class in org.jboss.byteman.rule.compiler
-
class which retains compiler state during recursive compilation of rule expressions to bytecode
- CompileException - Exception in org.jboss.byteman.rule.exception
-
used to notify an exception during rule compilation
- CompileException(String) - Constructor for exception org.jboss.byteman.rule.exception.CompileException
- CompileException(String, Throwable) - Constructor for exception org.jboss.byteman.rule.exception.CompileException
- compileNumericConversion(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- compileObjectConversion(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- compilePrimitiveConversion(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
-
compile code to convert a numeric or character primitive to a numeric or character primitive
- Compiler - Class in org.jboss.byteman.rule.compiler
-
A class which compiles a rule by generating a subclass of the rule's helperClass which implements the HelperAdapter interface
- Compiler() - Constructor for class org.jboss.byteman.rule.compiler.Compiler
- compileStringConversion(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- compileTypeConversion(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- compileUnbox(Type, Type) - Method in class org.jboss.byteman.rule.compiler.CompileContext
-
compile code to convert a value of a boxed type to a primitive type, possibly not the immediately related primitive type
- computeBMScriptName(String) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
-
method which computes the name of the BMRules file for a test class if it is not supplied in the class annotation
- computeBMScriptName(String, Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
-
method which computes the name of the BMRules file for a method test if it is not supplied in the method annotation
- computeDumpGeneratedClasses() - Static method in class org.jboss.byteman.agent.Transformer
- computeDumpGeneratedClassesDir() - Static method in class org.jboss.byteman.agent.Transformer
- computeDumpGeneratedClassesIntermediate() - Static method in class org.jboss.byteman.agent.Transformer
- COND - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- condition() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- Condition - Class in org.jboss.byteman.rule
-
class which represents a rule condition comprising a boolean expression
- Condition(Rule) - Constructor for class org.jboss.byteman.rule.Condition
- Condition(Rule, ParseNode) - Constructor for class org.jboss.byteman.rule.Condition
- ConditionalEvalExpression - Class in org.jboss.byteman.rule.expression
-
expression representing a ternary conditional evaluation (cond ? if_expr : else_expr)
- ConditionalEvalExpression(Rule, Type, ParseNode, Expression, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.ConditionalEvalExpression
- ConditionClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
- constructScriptText(BMRule[]) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
-
construct the text of a rule script from a set of BMRule annotations
- containsOpenEnter(CodeLocation) - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
-
check if a monitor enter location belongs to the list of open locations associated with this handler
- convertOper(int) - Static method in class org.jboss.byteman.rule.expression.OperExpression
- count() - Method in class org.jboss.byteman.synchronization.Counter
- count(boolean) - Method in class org.jboss.byteman.synchronization.Counter
- countDown(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to decrement the countdown identified by a specific object, uninstalling it and returning true only when the count is zero.
- CountDown - Class in org.jboss.byteman.synchronization
-
class provided to support rule builtins getCounter, decrementCounter and addCounter
- CountDown(int) - Constructor for class org.jboss.byteman.synchronization.CountDown
- Counter - Class in org.jboss.byteman.synchronization
-
class used to associate a counter value with a given object
- Counter() - Constructor for class org.jboss.byteman.synchronization.Counter
- Counter() - Constructor for class org.jboss.byteman.synchronization.Rendezvous.Counter
- Counter(int) - Constructor for class org.jboss.byteman.synchronization.Counter
- crashAtMethod(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a Rule to kill the target JVM at a given point within the specified Class.method()
- crashAtMethodEntry(Class, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a Rule to kill the target JVM upon entry to the specified Class.method()
- crashAtMethodEntry(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a Rule to kill the target JVM upon entry to the specified Class.method()
- crashAtMethodExit(Class, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a Rule to kill the target JVM upon exit of the specified Class.method()
- crashAtMethodExit(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a Rule to kill the target JVM upon exit of the specified Class.method()
- create(String) - Method in class org.jboss.byteman.rule.type.TypeGroup
-
create a type with a given name or return an existing type if the supplied name can be matched.
- create(String, Class) - Method in class org.jboss.byteman.rule.type.TypeGroup
-
create a type with a given name and class or return an existing type if the supplied name and class can be matched.
- create(LocationType, String) - Static method in class org.jboss.byteman.agent.Location
-
create a location object of a given type
- create(RuleScript, ClassLoader, HelperManager, AccessEnabler) - Static method in class org.jboss.byteman.rule.Rule
- create(Rule, String) - Static method in class org.jboss.byteman.rule.Action
- create(Rule, String) - Static method in class org.jboss.byteman.rule.Condition
- create(Rule, String) - Static method in class org.jboss.byteman.rule.Event
- create(Rule, ParseNode) - Static method in class org.jboss.byteman.rule.Action
- create(Rule, ParseNode) - Static method in class org.jboss.byteman.rule.Condition
- create(Rule, ParseNode) - Static method in class org.jboss.byteman.rule.Event
- CREATE - org.jboss.byteman.sample.helper.ThreadMonitorEventType
- createArray(Type) - Method in class org.jboss.byteman.rule.type.TypeGroup
- createArrayInitExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createAssignableExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createBinaryExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createBinding(ParseNode) - Method in class org.jboss.byteman.rule.Event
- createCallExpression(Rule, Bindings, ParseNode, ParseNode, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createClassLiteralExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createConstructorInvoker(Constructor) - Method in interface org.jboss.byteman.agent.AccessEnabler
- createConstructorInvoker(Constructor) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createConstructorInvoker(Constructor) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
- createConstructorInvoker(Constructor, boolean) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createCountDown(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to test create a countdown identified by a specific object and with the specified count.
- createCounter(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
create a counter identified by the given object with count 0 as its initial count
- createCounter(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
create a counter identified by the given object with the supplied value as its iniital count
- createExpression(Rule, Bindings, ParseNode) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createExpressionList(Rule, Bindings, ParseNode) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createExpressionList(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createFieldExpression(Rule, Bindings, ParseNode, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createFieldGetter(Field) - Method in interface org.jboss.byteman.agent.AccessEnabler
- createFieldGetter(Field) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createFieldGetter(Field) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
- createFieldGetter(Field, boolean) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createFieldSetter(Field) - Method in interface org.jboss.byteman.agent.AccessEnabler
- createFieldSetter(Field) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createFieldSetter(Field) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
- createFieldSetter(Field, boolean) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createJoin(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
- createLinkMap(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
create a LinkMap used to store links between names and values
- createLoader(ClassLoader, String[]) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- createLoader(ClassLoader, String[]) - Method in interface org.jboss.byteman.modules.ModuleSystem
- createLoader(ClassLoader, String[]) - Method in class org.jboss.byteman.modules.NonModuleSystem
- createMethodInvoker(Method) - Method in interface org.jboss.byteman.agent.AccessEnabler
- createMethodInvoker(Method) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createMethodInvoker(Method) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
- createMethodInvoker(Method, boolean) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
- createModularLoader(ClassLoader, String[]) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- createNewArrayDimsList(Rule, Bindings, ParseNode) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createNewExpression(Rule, Bindings, ParseNode, ParseNode, ParseNode) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createParamTypes(String, ClassLoader) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
- createPathList(ParseNode) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createRendezvous(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
call createRendezvous(Object, int, boolean) supplying false for the last parameter
- createRendezvous(Object, int, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
create a rendezvous for a given number of threads to join
- createRule(String) - Static method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
This is where you start.
- createRule(String, String) - Method in class org.jboss.byteman.agent.TransformContext
-
called by a check adapter to create a rule specific to a given trigger method.
- createTernaryExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createThrowExpression(Rule, Bindings, ParseNode, ParseNode) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- createTimer(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
create a timer identified by the given object
- createUnaryExpression(Rule, Bindings, ParseNode, Type) - Static method in class org.jboss.byteman.rule.expression.ExpressionHelper
- currentConfigState() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- currentRules() - Method in class org.jboss.byteman.agent.ScriptRepository
-
return a list containing all the currently installed rule scripts.
D
- D - Static variable in class org.jboss.byteman.rule.type.Type
- deactivated() - Static method in class org.jboss.byteman.rule.helper.Helper
- deactivated() - Static method in class org.jboss.byteman.sample.helper.JMXHelper
-
helper deactivation method which shuts down the periodic helper thread.
- deactivated() - Static method in class org.jboss.byteman.sample.helper.PeriodicHelper
-
helper deactivation method which shuts down the periodic helper thread.
- debug() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
debug configures the Byteman debug setting which controls printing of debug trace statements embedded in Byteman rules
- debug(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to print a message during rule execution.
- debug(String, Object) - Method in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
-
Print a message during rule execution.
- DEBUG - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on debug statements in the default Helper
- DEBUG - Variable in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
-
flag to allow debug trace to be generated
- debug_reduce(int, int, int) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- debug_shift(Symbol) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- decrement() - Method in class org.jboss.byteman.synchronization.CountDown
- decrement() - Method in class org.jboss.byteman.synchronization.Counter
- decrementCounter(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
decrement the value of the counter associated with given identifier, creating a new one with count zero if none exists
- DEFAULT_ADDRESS - Static variable in class org.jboss.byteman.agent.submit.Submit
- DEFAULT_HOST - Static variable in class org.jboss.byteman.agent.TransformListener
- DEFAULT_PERIOD - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
-
the default period which the helper will wait for between calls to periodicUpdate in milliseconds.
- DEFAULT_PERIOD - Static variable in class org.jboss.byteman.sample.helper.PeriodicHelper
-
the default period which the helper will wait for between calls to periodicTrigger in milliseconds.
- DEFAULT_PORT - Static variable in class org.jboss.byteman.agent.submit.Submit
- DEFAULT_PORT - Static variable in class org.jboss.byteman.agent.TransformListener
- DEFAULT_RMI_HOST - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
-
default value for the rmi server host address used by the JMX onnector server used only if an rmi server is required for the JMXConnector
- DEFAULT_RMI_PORT - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
-
default value for the rmi server port used by the JMX connector server used only if an rmi server is required for the JMXConnector
- DEFAULT_SAMPLE_SET_SIZE - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
-
default number of samples we are willing to store in order to maintain a running count of all previous
- DefaultAccessEnabler - Class in org.jboss.byteman.agent
-
Implementation of AccessEnabler for use in a non-Jigsaw enabled JDK runtime
- DefaultAccessEnabler() - Constructor for class org.jboss.byteman.agent.DefaultAccessEnabler
- defaultConfigState - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
a default configuration state used when a test class does not specify a configuration state.
- delay(long) - Method in class org.jboss.byteman.rule.helper.Helper
-
delay execution of the current thread for a specified number of milliseconds
- delete() - Method in class org.jboss.byteman.synchronization.Rendezvous
-
delete this rendezvous causing any waiting threads to return -1 form the rendezvous call.
- deleteAllRules() - Method in class org.jboss.byteman.agent.submit.Submit
-
Tells the Byteman agent to delete all rules.
- deleteCounter(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
delete a counter identified by the given object with count 0 as its initial count
- deleteLinkMap(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
delete a LinkMap used to store links between names and values
- deleteRendezvous(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
delete a rendezvous.
- deleteRules(Map<String, String>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deprecated.
- deleteRulesFromFiles(List<String>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deletes rules from Byteman, where the rule definitions are found in the local files found at the given paths.
- deleteRulesFromResources(List<InputStream>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deletes rules from Byteman, where the rule definitions are found in the given streams.
- deleteScripts(List<ScriptText>) - Method in class org.jboss.byteman.agent.submit.Submit
-
Deletes rules from Byteman.
- deleteTimer(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
delete a timer identified by the given object
- dereference(Type) - Static method in class org.jboss.byteman.rule.type.Type
-
dereference an object type to the fully qualified named type to which it is aliased where such an alias has been found to exist or return the supplied type if no alias exists or the type is a non-objecttype or was originally specified using a fully qualified type name.
- desc - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- descriptor - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- destroyLoader(CL) - Method in interface org.jboss.byteman.modules.ModuleSystem
- destroyLoader(ClassbyteClassLoader) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- destroyLoader(ClassbyteClassLoader) - Method in class org.jboss.byteman.modules.NonModuleSystem
- determineRuleName(String) - Method in class org.jboss.byteman.agent.submit.Submit
-
Given the content of an individual rule definition, this will return the name of that rule.
- dir() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMScript
- disableTriggers() - Static method in class org.jboss.byteman.rule.Rule
-
disable triggering of rules inside the current thread.
- disableTriggers(boolean) - Static method in class org.jboss.byteman.agent.Transformer
-
disable triggering of rules inside the current thread
- disableTriggersInternal() - Static method in class org.jboss.byteman.rule.Rule
-
disable triggering of rules inside the current thread.
- DISALLOW_DOWNCAST - Static variable in class org.jboss.byteman.agent.Transformer
-
system property which disables downcasts in bindings
- disallowDowncast() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether downcasts in bindings are disallowed.
- DIV - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - DIV - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- DIV - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- DIV - Static variable in class org.jboss.byteman.rule.grammar.sym
- DO - Static variable in class org.jboss.byteman.rule.grammar.sym
- do_action(int, lr_parser, Stack, int) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- doAction(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- doAction(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ActionClause
-
Definition of actions for the rule.
- DOLLAR - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- DOLLAR - Static variable in class org.jboss.byteman.rule.grammar.sym
- DollarExpression - Class in org.jboss.byteman.rule.expression
-
an expression which refers either to a builtin variable or to a bound parameter of the triggering method for an ECA rule.
- DollarExpression(Rule, Type, ParseNode, int) - Constructor for class org.jboss.byteman.rule.expression.DollarExpression
-
constructor for param bindings or special bindings
- DollarExpression(Rule, Type, ParseNode, String) - Constructor for class org.jboss.byteman.rule.expression.DollarExpression
-
constructor for local var bindings
- DONE - org.jboss.byteman.synchronization.Joiner.Status
-
a DONE status is returned when a child successfully adds itself to the join list reaching the expected number of children and there is a parent thread waiting for the children
- DOT - Static variable in class org.jboss.byteman.rule.grammar.sym
- DOUBLE - Static variable in class org.jboss.byteman.rule.type.Type
- DOUBLE_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- DUMP_CFG - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on dumping of control flow graph for triger method after construction
- DUMP_CFG_PARTIAL - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on dumping of control flow graph for trigger method at each stage of construction
- DUMP_GENERATED_CLASSES - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on dumping of generated bytecode to .class files
- DUMP_GENERATED_CLASSES_DIR - Static variable in class org.jboss.byteman.agent.Transformer
-
system property identifying directory in which to dump generated bytecode .class files
- DUMP_GENERATED_CLASSES_INTERMEDIATE - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on dumping of intermediate generated bytecode to .class files
- dumpGeneratedClasses() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
dumpGeneratedClasses configures whether or not the Byteman agent dumps transformed bytecode to a class file.
- dumpGeneratedClassesDirectory() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
dumpGeneratedClassesDirectory identifies a directory path to locate the root directory for class files created when the Byteman agent dumps transformed bytecode to a class file.
- dumpGeneratedClassesIntermediate() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
dumpGeneratedClassesIntermediate configures whether or not the Byteman agent dumps intermediate versions of transformed bytecode to a class file.
- dumpScript(RuleScript) - Method in class org.jboss.byteman.agent.Transformer
- dup() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a DUP instruction.
- dup2() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a DUP2 instruction.
- dup2X1() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a DUP2_X1 instruction.
- dup2X2() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a DUP2_X2 instruction.
- DUPLICATE - org.jboss.byteman.synchronization.Joiner.Status
-
a DUPLICATE status is returned when a child fails to add itself to the join list because it is already present
- dupX1() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a DUP_X1 instruction.
- dupX2() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a DUP_X2 instruction.
E
- EARLY_RETURN_EXCEPTION_TYPE - Static variable in class org.jboss.byteman.agent.adapter.cfg.CFG
-
Type identifying return exceptions thrown by runtime
- EARLY_RETURN_EXCEPTION_TYPE_NAME - Static variable in class org.jboss.byteman.agent.adapter.cfg.CFG
-
name of type identifying return exceptions thrown by runtime
- EarlyReturnException - Exception in org.jboss.byteman.rule.exception
-
Specialization of ExecuteException which is used to cause a trigger method to return early the trigger point, possibly supplying an object to be returned.
- EarlyReturnException(String) - Constructor for exception org.jboss.byteman.rule.exception.EarlyReturnException
- EarlyReturnException(String, Object) - Constructor for exception org.jboss.byteman.rule.exception.EarlyReturnException
- EarlyReturnException(String, Throwable) - Constructor for exception org.jboss.byteman.rule.exception.EarlyReturnException
- EarlyReturnException(String, Throwable, Object) - Constructor for exception org.jboss.byteman.rule.exception.EarlyReturnException
- ECAGrammarParser - Class in org.jboss.byteman.rule.grammar
- ECAGrammarParser() - Constructor for class org.jboss.byteman.rule.grammar.ECAGrammarParser
- ECAGrammarParser(Scanner) - Constructor for class org.jboss.byteman.rule.grammar.ECAGrammarParser
- ECAGrammarParser(Scanner, SymbolFactory) - Constructor for class org.jboss.byteman.rule.grammar.ECAGrammarParser
- ECATokenLexer - Class in org.jboss.byteman.rule.grammar
- ECATokenLexer(InputStream) - Constructor for class org.jboss.byteman.rule.grammar.ECATokenLexer
- ECATokenLexer(Reader) - Constructor for class org.jboss.byteman.rule.grammar.ECATokenLexer
- enableTriggers() - Static method in class org.jboss.byteman.rule.Rule
-
enable triggering of rules inside the current thread.
- enableTriggers(boolean) - Static method in class org.jboss.byteman.agent.Transformer
-
enable triggering of rules inside the current thread
- enableTriggersInternal() - Static method in class org.jboss.byteman.rule.Rule
-
enable triggering of rules inside the current thread n.b.
- end - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- endMethod() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Marks the end of the visited method.
- enforce() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
if enforce is true then every element of the configuration specified in the annotation must be configured as specified and if it cannot be so configured (or reconfigured) then an exception will be thrown by the test runner.
- ensureAccess(AccessibleObject) - Method in interface org.jboss.byteman.agent.AccessEnabler
-
ensure that accessible can be accessed using reflection or a method handle
- ensureAccess(AccessibleObject) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
-
ensure that accessible can be accessed using reflection or a method handle
- ensureAccess(AccessibleObject) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
-
ensure that accessible can be accessed using reflection or a method handle
- ensureTransformSet(ClassLoader, String, Rule) - Method in class org.jboss.byteman.agent.RuleScript
- ensureType(Class) - Method in class org.jboss.byteman.rule.type.TypeGroup
- ENTRY - org.jboss.byteman.agent.LocationType
-
specifies the default location for trigger insertion which is either the first line of a method or the first line of a constructor following any indirection via an alternative constructor or via the super constructor.
- EntryCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- EntryCheckAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.EntryCheckAdapter
- EntryTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- EntryTriggerAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.EntryTriggerAdapter
- EOF - Static variable in class org.jboss.byteman.rule.grammar.sym
- EOF_sym() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- EQ - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
ifCmp
method. - EQ - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- EQ - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- EQ - Static variable in class org.jboss.byteman.rule.grammar.sym
- equalDescriptors(String, String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
- equals(Object) - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- equals(Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- err(String) - Static method in class org.jboss.byteman.rule.helper.Helper
-
punts to static call dotraceln("err", msg) to print msg to the "err" trace stream
- error - Static variable in class org.jboss.byteman.rule.grammar.sym
- error(String) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- error(String, int, int) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- error_sym() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- errTraceException(Throwable) - Static method in class org.jboss.byteman.rule.helper.Helper
-
Print the stack trace for th to the "err" trace stream
- Event - Class in org.jboss.byteman.rule
-
class which represents a rule event comprising of a set of abstract bindings of event variables to evaluable expressions.
- Event(Rule) - Constructor for class org.jboss.byteman.rule.Event
- Event(Rule, ParseNode) - Constructor for class org.jboss.byteman.rule.Event
- EXCEPTION_EXIT - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion on exception exit from the trigger method script syntax : 'AT' 'EXCEPTION' 'EXIT'
- ExceptionExitCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- ExceptionExitCheckAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.ExceptionExitCheckAdapter
- ExceptionExitTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of some given class
- ExceptionExitTriggerAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.ExceptionExitTriggerAdapter
- exceptions - Variable in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- EXCESS - org.jboss.byteman.synchronization.Joiner.Status
-
an EXCESS status is returned when a child fails to add itself to a join list because it already contains the expected number of children
- execute() - Method in class org.jboss.byteman.contrib.rulecheck.HelpMojo
- execute() - Method in class org.jboss.byteman.contrib.rulecheck.RuleCheckMojo
- execute(Object, Object[]) - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- execute(Object, Object[]) - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
-
install values into the bindings map and then call the execute0 method to actually execute the rule
- execute(String, Object, Object[]) - Static method in class org.jboss.byteman.rule.Rule
-
forward an execute request a rule identified by its unique key
- EXECUTE_EXCEPTION_TYPE - Static variable in class org.jboss.byteman.agent.adapter.cfg.CFG
-
Type identifying execute exceptions thrown by runtime
- EXECUTE_EXCEPTION_TYPE_NAME - Static variable in class org.jboss.byteman.agent.adapter.cfg.CFG
-
name of type identifying execute exceptions thrown by runtime
- execute0() - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
-
basic implementation of rule execution
- ExecuteException - Exception in org.jboss.byteman.rule.exception
-
exception class thrown during rule execution.
- ExecuteException(String) - Constructor for exception org.jboss.byteman.rule.exception.ExecuteException
- ExecuteException(String, Throwable) - Constructor for exception org.jboss.byteman.rule.exception.ExecuteException
- EXIT - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion at return from the trigger method n.b.
- EXIT - org.jboss.byteman.sample.helper.ThreadMonitorEventType
- ExitCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- ExitCheckAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.ExitCheckAdapter
- ExitTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of some given class
- ExitTriggerAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.ExitTriggerAdapter
- Expression - Class in org.jboss.byteman.rule.expression
-
abstract class representing an evaluable expression.
- Expression(Rule, Type, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.Expression
-
Create a new expression.
- ExpressionHelper - Class in org.jboss.byteman.rule.expression
-
helper class to transform parsed expression AST into an actual Expression instance
- ExpressionHelper() - Constructor for class org.jboss.byteman.rule.expression.ExpressionHelper
- externalizeClass(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
convert a classname from canonical form to the form used to represent it externally i.e.
- externalizeDescriptor(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
convert a method descriptor from canonical form to the form used to represent it externally
- externalizeType(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
convert a type name from canonical form to the form used to represent it externally i.e.
F
- F - Static variable in class org.jboss.byteman.rule.type.Type
- F_ARRAY - Static variable in class org.jboss.byteman.rule.type.Type
- F_BOOLEAN - Static variable in class org.jboss.byteman.rule.type.Type
- F_FLOATING - Static variable in class org.jboss.byteman.rule.type.Type
- F_INTEGRAL - Static variable in class org.jboss.byteman.rule.type.Type
- F_NUMERIC - Static variable in class org.jboss.byteman.rule.type.Type
- F_OBJECT - Static variable in class org.jboss.byteman.rule.type.Type
- F_PRIMITIVE - Static variable in class org.jboss.byteman.rule.type.Type
- F_STRING - Static variable in class org.jboss.byteman.rule.type.Type
- F_UNKNOWN - Static variable in class org.jboss.byteman.rule.type.Type
- F_VALUE - Static variable in class org.jboss.byteman.rule.type.Type
- F_VOID - Static variable in class org.jboss.byteman.rule.type.Type
- fail(String, String, String) - Method in class org.jboss.byteman.agent.TransformContext
-
called by a check or trigger adapter to fail a transform because of a type issue.
- FanOut - Class in org.jboss.byteman.agent.adapter.cfg
-
A representation of a 1:M relation between labels/code locations.
- FanOut(Label) - Constructor for class org.jboss.byteman.agent.adapter.cfg.FanOut
-
construct a new empty link
- FanOut(Label, Label) - Constructor for class org.jboss.byteman.agent.adapter.cfg.FanOut
-
construct a new link with one element in the target set
- FanOut(Label, Label, Label) - Constructor for class org.jboss.byteman.agent.adapter.cfg.FanOut
-
construct a new link with two elements in the target set
- FIELD - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- FieldAccessCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- FieldAccessCheckAdapter(ClassVisitor, TransformContext, String, String, int, int) - Constructor for class org.jboss.byteman.agent.adapter.FieldAccessCheckAdapter
- FieldAccessTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- FieldAccessTriggerAdapter(ClassVisitor, TransformContext, String, String, int, int, boolean) - Constructor for class org.jboss.byteman.agent.adapter.FieldAccessTriggerAdapter
- FieldExpression - Class in org.jboss.byteman.rule.expression
-
an expression which identifies an instance field reference
- FieldExpression(Rule, Type, ParseNode, String, Expression, String[]) - Constructor for class org.jboss.byteman.rule.expression.FieldExpression
- FILLED - org.jboss.byteman.synchronization.Joiner.Status
-
a FILLED status is returned when a child successfully adds itself to the join list reaching the expected number of children but there is no parent thread waiting for the children
- find(String) - Method in class org.jboss.byteman.layer.LayerModuleFinder
- find(String) - Method in class org.jboss.byteman.layer.LayerModuleReader
- findAll() - Method in class org.jboss.byteman.layer.LayerModuleFinder
- findClass(String) - Method in class org.jboss.byteman.modules.jbossmodules.ModuleUsingClassbyteClassLoader
- findLeastCommonSuper(String, String) - Method in class org.jboss.byteman.agent.TransformContext
- findScript(String, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
Tries to find dir/name in the working directory.
- findScript(String, String...) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
- firstOut() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return the label of the first normal control flow link
- firstTime - Static variable in class org.jboss.byteman.agent.Main
- fixArrayType(String, int) - Static method in class org.jboss.byteman.rule.type.Type
- flag(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
set a flag keyed by the supplied object if it is not already set
- flagged(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
test the state of the flag keyed by the supplied object
- FLOAT - Static variable in class org.jboss.byteman.rule.type.Type
- FLOAT_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- FLOAT_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- formatAllStacks() - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces by calling formatAllStacks(null)
- formatAllStacks(int) - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces by calling formatAllStacks(null, maxFrames)
- formatAllStacks(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces by calling formatAllStacks(prefix, 0)
- formatAllStacks(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces
- formatStack() - Method in class org.jboss.byteman.rule.helper.Helper
-
return a stack trace by calling formatStack(null)
- formatStack(int) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a stack trace by calling formatStack(null, maxFrames)
- formatStack(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a stack trace by calling formatStack(prefix, 0)
- formatStack(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to the trace stream identified by key
- formatStackBetween(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetween(from, to, null)
- formatStackBetween(String, String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetween(from, to, includeClass, false)
- formatStackBetween(String, String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetween(from, to, includeClass, includePackage, null)
- formatStackBetween(String, String, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackRange(from, to, false, includeClass, includePackage, prefix)
- formatStackBetween(String, String, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetween(from, to, includeClass, false, prefix)
- formatStackBetween(String, String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetween(from, to, false, false, false, prefix)
- formatStackBetweenMatches(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetweenMatches(from, to, null)
- formatStackBetweenMatches(String, String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetweenMatches(from, to, includeClass, false)
- formatStackBetweenMatches(String, String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetweenMatches(from, to, includeClass, includePackage, null)
- formatStackBetweenMatches(String, String, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackRange(from, to, true, includeClass, includePackage, prefix)
- formatStackBetweenMatches(String, String, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetweenMatches(from, to, includeClass, false, prefix)
- formatStackBetweenMatches(String, String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end by calling formatStackBetweenMatches(from, to, false, false, false, prefix)
- formatStackMatching(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing all stack frames which match pattern by calling formatStackMatching(pattern, null)
- formatStackMatching(String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing all stack frames which match pattern by calling formatStackMatching(pattern, includeClass, false)
- formatStackMatching(String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing all stack frames which match pattern by calling formatStackMatching(pattern, includeClass, includePackage, null)
- formatStackMatching(String, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing all stack frames which match pattern.
- formatStackMatching(String, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing all stack frames which match pattern by calling formatStackMatching(pattern, includeClass, false, prefix)
- formatStackMatching(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing all stack frames which match pattern by calling formatStackMatching(pattern, false, prefix)
- formatStackRange(String, String, boolean, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return a String tracing the stack between the frames which match start and end.
- formatThreadStack(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return stack traces of a specific thread by calling formatThreadStack(threadName, null)
- formatThreadStack(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces by calling formatThreadStack(threadName, null, maxFrames)
- formatThreadStack(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces by calling formatThreadStack(threadName, prefix, 0)
- formatThreadStack(String, String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
return all stack traces
G
- GE - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
ifCmp
method. - GE - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- GE - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- GE - Static variable in class org.jboss.byteman.rule.grammar.sym
- get(int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
return the instruction at the supplied offset
- get(Object) - Method in interface org.jboss.byteman.agent.AccessibleFieldGetter
- get(Object) - Method in class org.jboss.byteman.jigsaw.JigsawAccessibleFieldGetter
- getAccessibleField(Object, int) - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- getAccessibleField(Object, int) - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
- getAccessibleField(Object, int) - Method in class org.jboss.byteman.rule.Rule
- getAction() - Method in class org.jboss.byteman.rule.Rule
- getActiveTryStarts() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve details of all try catch blocks which are capable of generating an exception in this block
- getAddress() - Method in class org.jboss.byteman.agent.submit.Submit
- getAgentVersion() - Method in class org.jboss.byteman.agent.submit.Submit
-
Returns the version of the remote Byteman agent.
- getAlias() - Method in class org.jboss.byteman.rule.binding.Binding
- getAllRules() - Method in class org.jboss.byteman.agent.submit.Submit
-
Deprecated.
- getAllScripts() - Method in class org.jboss.byteman.agent.submit.Submit
-
Gets all deployed rules from the agent just as
Submit.listAllRules()
, but will return the rules organized by script (i.e. - getArg(int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
return a specific encoded argument of a given instruction
- getArgCount(int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
return the number of encoded arguments of a given instruction
- getArrived() - Method in class org.jboss.byteman.synchronization.Rendezvous
-
retrieve the number of threads waiting at the rendezvous or -1 if the rendezvous has been deleted
- getAttribute(String) - Method in class org.jboss.byteman.sample.helper.JMXHelper
- getAttributes(String[]) - Method in class org.jboss.byteman.sample.helper.JMXHelper
- getBaseType() - Method in class org.jboss.byteman.rule.type.Type
-
retrieve the base type for an array type or null if this is not an array type
- getBinding(String) - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- getBinding(String) - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
- getBindings() - Method in class org.jboss.byteman.rule.Event
- getBindings() - Method in class org.jboss.byteman.rule.Rule
- getBindings() - Method in class org.jboss.byteman.rule.RuleElement
- getBlock() - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- getBlock(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the block containing a label if known
- getBlockIdx() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve the index of this block in the block sequence.
- getBlockIdx() - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- getBlockInstructionIdx(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the index of the label in its enclosing block's instruction sequence or -1 if the label has not yet been visited.
- getBytesize() - Method in class org.jboss.byteman.agent.check.BytecodeChecker
- getCallArrayIndex() - Method in class org.jboss.byteman.rule.binding.Binding
- getCandidateArgClass(List<Constructor>, int) - Method in class org.jboss.byteman.rule.expression.NewExpression
- getCandidateArgClass(List<Constructor>, int) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
- getCandidateArgClass(List<Method>, int) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- getCFG() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
obtain the control flow graph to which this block belongs
- getChild(int) - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get the nth child for this node or null if the index exceeds the child count
- getChildCount() - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get the child count for this node
- getClassChecker(String, ClassLoader) - Method in class org.jboss.byteman.agent.Transformer
-
return a checker object which can be used to retrieve the super and interfaces of a class from its name and classloader without forcing a load of the class.
- getClientVersion() - Method in class org.jboss.byteman.agent.submit.Submit
-
Returns the version of this Byteman submit client.
- getColumn() - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get the column position for this node
- getCondition() - Method in class org.jboss.byteman.rule.Rule
- getContains(BBlock) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return a link object listing all the labels contained in a given block
- getCountDown(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
for backwards compatibility
- getCreatedBy() - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- getCreateEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- getCreateEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Get the array of thread creation events.
- getCurrentConfigState() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
the global configuration state which configures the operation of BMUnit when running tests in a specific class or a method in that class.
- getDefaultInstrumentor() - Static method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Returning value of the previously set default
Instrumentor
instance. - getDescriptor() - Method in class org.jboss.byteman.rule.binding.Binding
- getDetail() - Method in class org.jboss.byteman.agent.Transform
- getDisplayName() - Method in class org.jboss.byteman.agent.install.VMInfo
- getDumpGeneratedClassesDir() - Static method in class org.jboss.byteman.agent.Transformer
- getDumpGeneratedClassesDirectory() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for current dumpGeneratedClassesDirectory setting which only returns a directory when dumpGeneratedClasses is set in which case it uses any current setting but delegates to previous if no value has been set.
- getEarlyReturnHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- getElapsedTime() - Method in class org.jboss.byteman.synchronization.Timer
- getElapsedTimeFromTimer(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
get the elapsed time from the start (or last reset) of timer associated with given identifier, creating a new one if none exists
- getEnd() - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- getEnd() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- getErrorCount() - Method in class org.jboss.byteman.check.RuleCheckResult
- getErrorCount() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- getErrorMessages() - Method in class org.jboss.byteman.check.RuleCheckResult
- getErrors() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- getEvent() - Method in class org.jboss.byteman.rule.Rule
- getEventReport() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- getEventReport() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Get a string description of all thread events.
- getEventType() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
- getExceptionTypes() - Method in class org.jboss.byteman.rule.type.TypeGroup
- getExecuteHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- getExitEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- getExitEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Get the array of thread exit events.
- getExpected() - Method in class org.jboss.byteman.synchronization.Rendezvous
- getField(Type, String, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the value of a non static field on the stack.
- getFile() - Method in class org.jboss.byteman.agent.RuleScript
- getFile() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- getFile() - Method in class org.jboss.byteman.rule.Rule
-
retrieve the name of the file containing this rule
- getFileName() - Method in class org.jboss.byteman.agent.submit.ScriptText
- getFrom() - Method in class org.jboss.byteman.agent.adapter.cfg.FanOut
- getFullStack() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
- getHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- getHandlerStarts() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve details of all try catch block handlers whcih start in this block
- getHelperAdapter(Rule, Class, String, boolean) - Static method in class org.jboss.byteman.rule.compiler.Compiler
- getHelperAdapterName(Class, boolean) - Static method in class org.jboss.byteman.rule.compiler.Compiler
- getHelperClass() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Returns a helper class which this
Instrumentor
instance defines as parameter ofHELPER
clause. - getHelperClass() - Method in class org.jboss.byteman.rule.Rule
-
a getter allowing the helper class for the rule to be identified
- getHelperImplementationClassName() - Method in class org.jboss.byteman.rule.Rule
-
a getter allowing the helper implementation class name for the rule to be identified
- getHelperLoader() - Method in class org.jboss.byteman.rule.Rule
-
get the class loader of the rule-specific helper adapter class
- getHost() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the host name used to communicate with the agent
- getHost() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
getter for currently configured agent host setting
- getId() - Method in class org.jboss.byteman.agent.install.VMInfo
- getImports() - Method in class org.jboss.byteman.agent.RuleScript
- getIndex() - Method in class org.jboss.byteman.rule.binding.Binding
- getInfoMessages() - Method in class org.jboss.byteman.check.RuleCheckResult
- getInstalledRule() - Method in class org.jboss.byteman.agent.TransformSet
- getInstances() - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Returns the set of known instances of the class.
- getInstruction(int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return the instruction at a given index.
- getInstructionArg(int, int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve the integer operand or encoded name associated with a particular instruction
- getInstructionCount() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return the number of instructions in the blocks instructuion sequence equivalent to the index of the next instruction added to the block.
- getInstructionIdx() - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- getInterface(int) - Method in class org.jboss.byteman.agent.check.BytecodeChecker
- getInterface(int) - Method in interface org.jboss.byteman.agent.check.ClassChecker
-
identify the name of a specific interface in the implements list of this class
- getInterfaceCount() - Method in class org.jboss.byteman.agent.check.BytecodeChecker
- getInterfaceCount() - Method in interface org.jboss.byteman.agent.check.ClassChecker
-
identify how many interfaces are in the implements list of this class
- getInterfaces() - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- getInternalClassName() - Method in class org.jboss.byteman.agent.Transform
- getInternalName() - Method in class org.jboss.byteman.rule.type.Type
-
get the internal name for this type used by the class loader.
- getInternalName(boolean, boolean) - Method in class org.jboss.byteman.rule.type.Type
-
get the internal name for this type used by the class loader.
- getInvocationCount(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Returns number of method calls for the class.
Sum number of method calls on all instrumented instances belonging to this instrumented class. - getInvocationCount(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedInstance
-
Returns the number of known invocations of the given method upon the object instance.
- getInvokedTypes() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
-
method overridden by AT INVOKE method adapter allowing types for the invoked method owner, parameters and return value to be identified.
- getIVarName() - Method in class org.jboss.byteman.rule.binding.Binding
- getJigsawAccessEnablerClassBytes() - Static method in class org.jboss.byteman.agent.JigsawAccessEnablerGenerator
- getJigsawClassBytes(String) - Static method in class org.jboss.byteman.agent.JigsawAccessEnablerGenerator
- getKey() - Method in class org.jboss.byteman.rule.Rule
-
called when a trigger is compiled for the rule to provide a String key which can be used at execution time to obtain a handle on the rule instance
- getKeyCount() - Method in class org.jboss.byteman.sample.helper.KeyInfo
- getKeyLabels() - Method in class org.jboss.byteman.sample.helper.KeyInfo
- getKeyNames() - Method in class org.jboss.byteman.sample.helper.KeyInfo
- getKeyTypes() - Method in class org.jboss.byteman.sample.helper.KeyInfo
- getLabel() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
get the primary label which idenitfies this block.
- getLabel() - Method in class org.jboss.byteman.sample.helper.KeyInfo
- getLine() - Method in class org.jboss.byteman.agent.RuleScript
- getLine() - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get the line position for this node
- getLine() - Method in class org.jboss.byteman.rule.Rule
-
retrieve the start line for the rule
- getLoadDirectory() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the load directory
- getLoadDirectory() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
getter for currently configured load directory setting
- getLoadedBootClassloaderJars() - Method in class org.jboss.byteman.agent.submit.Submit
-
Returns a list of jars that were added to the Byteman agent's boot classloader.
- getLoadedBootJars() - Method in class org.jboss.byteman.agent.Retransformer
-
Returns jars that this retransformer was asked to
add
to the boot classloader. - getLoadedSystemClassloaderJars() - Method in class org.jboss.byteman.agent.submit.Submit
-
Returns a list of jars that were added to the Byteman agent's system classloader.
- getLoadedSystemJars() - Method in class org.jboss.byteman.agent.Retransformer
-
Returns jars that this retransformer was asked to
add
to the system classloader. - getLoader() - Method in class org.jboss.byteman.agent.Transform
- getLoader() - Method in class org.jboss.byteman.agent.TransformSet
- getLoader() - Method in class org.jboss.byteman.rule.Rule
-
get the class loader of the target class for the rule
- getLocalCount() - Method in class org.jboss.byteman.rule.compiler.CompileContext
- getLocalIndex() - Method in class org.jboss.byteman.rule.binding.Binding
- getLocalMax() - Method in class org.jboss.byteman.rule.compiler.CompileContext
- getLocalType(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
- getLocation(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the location of the label if known or null if it has not yet been reached.
- getLocationType() - Method in class org.jboss.byteman.agent.Location
-
identify the type of this location
- getMax() - Method in class org.jboss.byteman.contrib.dtest.CallCount
- getMax() - Method in class org.jboss.byteman.synchronization.Joiner
- getMBeanInfo() - Method in class org.jboss.byteman.sample.helper.JMXHelper
- getMethodName() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- getMin() - Method in class org.jboss.byteman.contrib.dtest.CallCount
- getModuleSystem() - Method in class org.jboss.byteman.agent.HelperManager
- getModuleSystem() - Method in class org.jboss.byteman.rule.Rule
- getMonitoredThread() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
- getMonitorEnterCount() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve a count of all monitor enter instruction locations occurring in this block
- getMonitorEnters() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve a list of all monitor enter instruction locations occurring in this block
- getMonitorExitCount() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve a count of all monitor exit instruction locations occuring in this block
- getMonitorExits() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve a list of all monitor exit instruction locations occurring in this block
- getName() - Method in class org.jboss.byteman.agent.RuleScript
- getName() - Method in class org.jboss.byteman.rule.binding.Binding
- getName() - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- getName() - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
- getName() - Method in class org.jboss.byteman.rule.Rule
- getName() - Method in class org.jboss.byteman.rule.type.Type
-
get the possibly unqualified name with which this type was created
- getName(int) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
- getNBytes() - Method in class org.jboss.byteman.rule.type.Type
-
return the number of stack words occupied by instances of this type
- getObjectSize(Object) - Method in class org.jboss.byteman.agent.HelperManager
-
This method exposes a capability of the Byteman agent's Instrumentation instance while avoiding exposing the instance itself.
- getObjectSize(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
provide an estimate of an object's size return -1 if not running in a real agent
- getObjectSize(Object) - Method in class org.jboss.byteman.rule.Rule
- getOpenEnters() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- getOpenMonitorEnters(BBlock) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
retrieve the list of monitor enter locations open at the start of a given block
- getOpenMonitorEnters(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
retrieve the list of monitor enter locations open at the start of a given block
- getOpenMonitors(TriggerDetails) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
retrieve the list of monitor enter locations associated with a trigger block.
- getOperand(int) - Method in class org.jboss.byteman.rule.expression.BinaryOperExpression
-
return the operand with the given index or null if the index is out of range
- getOperand(int) - Method in class org.jboss.byteman.rule.expression.OperExpression
-
return the operand with the given index or null if the index is out of range
- getOperand(int) - Method in class org.jboss.byteman.rule.expression.TernaryOperExpression
-
return the operand with the given index or null if the index is out of range
- getOperand(int) - Method in class org.jboss.byteman.rule.expression.UnaryOperExpression
-
return the operand with the given index or null if the index is out of range
- getOuterClass() - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- getPackageName() - Method in class org.jboss.byteman.rule.type.Type
-
get the package component of the name associated with this type or the empty String if it has no package or is was defiend with an unqualified name or is a builtin type
- getPairedEnter(CodeLocation) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
locate the monitor enter instruction associated with a given monitor exit
- getParseErrorCount() - Method in class org.jboss.byteman.check.RuleCheckResult
- getParseErrorMessages() - Method in class org.jboss.byteman.check.RuleCheckResult
- getPath(int) - Method in class org.jboss.byteman.rule.expression.ClassLiteralExpression
- getPath(int) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- getPath(int) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- getPathCount(String) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- getPathCount(String) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- getPeriod() - Method in class org.jboss.byteman.sample.helper.PeriodicHelper
-
a method which is called when the periodic helper thread is started to compute the interval in milliseconds for which the thread should wait between calls to the trigger method which by default returns the default interval of 10 seconds.
- getPolicy() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the security policy setting
- getPort() - Method in class org.jboss.byteman.agent.submit.Submit
- getPort() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the port used to communicate with the agent
- getPort() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
getter for currently configured agent port setting
- getPos() - Method in class org.jboss.byteman.rule.expression.Expression
- getPos() - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get a string representing the position for this node
- getPos() - Method in class org.jboss.byteman.rule.grammar.PrintableSymbol
- getRedirectedSubmissionsFile() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Returns the file to which Rule submission is currently redirected
- getRendezvous(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether a rendezvous with a specific expected count is associated with identifier
- getResourceLoadDirectory() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the resource load directory
- getResourceLoadDirectory() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
getter for currently configured resource directory setting
- getResult() - Method in class org.jboss.byteman.check.RuleCheck
- getReturnBindingType() - Method in class org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
- getReturnBindingType() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
-
method overridden by AT INVOKE method adapter allowing the type of the $! binding to be identified.
- getReturnType() - Method in class org.jboss.byteman.rule.Rule
- getReturnValue() - Method in exception org.jboss.byteman.rule.exception.EarlyReturnException
- getRule() - Method in class org.jboss.byteman.agent.Transform
- getRuleAdapter(ClassVisitor, TransformContext) - Method in class org.jboss.byteman.agent.Location
-
return an adapter which can be used to insert a trigger call in a method containing a trigger point whose position matches this location
- getRuleCheckAdapter(ClassVisitor, TransformContext) - Method in class org.jboss.byteman.agent.Location
-
return an adapter which can be used to check whether a method contains a trigger point whose position matches this location
- getRuleText() - Method in class org.jboss.byteman.agent.RuleScript
- getRunEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- getRunEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Get the array of Runnable.run events.
- getRunnableClass() - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- getSavedMonitorIdx(CodeLocation) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the index of the local var at which this monitorenter saved its lock object
- getShadowRegions() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- getSourceLine() - Method in class org.jboss.byteman.rule.compiler.CompileContext
- getStack() - Method in class org.jboss.byteman.rule.helper.Helper
-
access to the current stack frames
- getStack() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
- getStackCount() - Method in class org.jboss.byteman.rule.compiler.CompileContext
- getStackMax() - Method in class org.jboss.byteman.rule.compiler.CompileContext
- getStart() - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- getStart() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- getStartEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- getStartEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Get the array of thread start events.
- getStartTime() - Method in class org.jboss.byteman.synchronization.Timer
- getStatic(Type, String, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the value of a static field on the stack.
- getSuper() - Method in class org.jboss.byteman.agent.check.BytecodeChecker
- getSuper() - Method in interface org.jboss.byteman.agent.check.ClassChecker
-
identify the name of the super class for the checked class
- getSuper() - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- getSystemProperty(String, String) - Static method in class org.jboss.byteman.agent.install.Install
-
attach to the virtual machine identified by id and return the value of the named property.
- getTag() - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get the tag for this node
- getTargetClass() - Method in class org.jboss.byteman.agent.RuleScript
- getTargetClass() - Method in class org.jboss.byteman.rule.Rule
- getTargetClass() - Method in class org.jboss.byteman.rule.type.Type
-
get the class associated with this type if it has one or a special undefined class if the type is not defined or null if there is no associated class
- getTargetHelper() - Method in class org.jboss.byteman.agent.RuleScript
- getTargetLocation() - Method in class org.jboss.byteman.agent.RuleScript
- getTargetLocation() - Method in class org.jboss.byteman.rule.Rule
- getTargetMethod() - Method in class org.jboss.byteman.agent.RuleScript
- getTargetMethod() - Method in class org.jboss.byteman.rule.Rule
- getText() - Method in class org.jboss.byteman.agent.submit.ScriptText
- getText() - Method in class org.jboss.byteman.rule.grammar.ParseNode
-
get the display representation of this node
- getThreadId() - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- getThreadName() - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- getThrowable() - Method in class org.jboss.byteman.agent.Transform
- getThrowable() - Method in exception org.jboss.byteman.rule.exception.ThrowException
- getThrowHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- getTo(int) - Method in class org.jboss.byteman.agent.adapter.cfg.FanOut
-
retrieve a link from the target set by index
- getToCount() - Method in class org.jboss.byteman.agent.adapter.cfg.FanOut
-
retrieve the size of the target set
- getTransformContext() - Method in class org.jboss.byteman.agent.adapter.RuleAdapter
- getTransforms() - Method in class org.jboss.byteman.agent.TransformSet
- getTransformSets() - Method in class org.jboss.byteman.agent.RuleScript
-
getter for list of transforms applied for this script.
- getTransformSetsCount() - Method in class org.jboss.byteman.agent.RuleScript
-
return a count of the number of transforms applied for this script.
- getTriggerClass() - Method in class org.jboss.byteman.agent.TransformSet
- getTriggerClass() - Method in class org.jboss.byteman.rule.Rule
- getTriggerClassName() - Method in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- getTriggerClassName() - Method in class org.jboss.byteman.agent.TransformContext
- getTriggerDescriptor() - Method in class org.jboss.byteman.rule.Rule
- getTriggerMethod() - Method in class org.jboss.byteman.rule.Rule
- getTriggerMethodName() - Method in class org.jboss.byteman.agent.Transform
- getTryEnds() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
retrieve details of all try catch blocks which end in this block
- getType() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- getType() - Method in class org.jboss.byteman.rule.binding.Binding
- getType() - Method in class org.jboss.byteman.rule.expression.Expression
- getType(int) - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
return the type of a given instruction
- getTypeErrorCount() - Method in class org.jboss.byteman.check.RuleCheckResult
- getTypeErrorMessages() - Method in class org.jboss.byteman.check.RuleCheckResult
- getTypeGroup() - Method in class org.jboss.byteman.rule.Rule
- getTypeGroup() - Method in class org.jboss.byteman.rule.RuleElement
- getTypeWarningCount() - Method in class org.jboss.byteman.check.RuleCheckResult
- getTypeWarningMessages() - Method in class org.jboss.byteman.check.RuleCheckResult
- getValue() - Method in class org.jboss.byteman.rule.binding.Binding
- getValue(int) - Method in class org.jboss.byteman.sample.helper.JMXHelper
-
getter for counter values used by MBean code
- getWarningCount() - Method in class org.jboss.byteman.check.RuleCheckResult
- getWarningMessages() - Method in class org.jboss.byteman.check.RuleCheckResult
- goTo(Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to jump to the given label.
- GT - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
ifCmp
method. - GT - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- GT - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- GT - Static variable in class org.jboss.byteman.rule.grammar.sym
H
- hasError() - Method in class org.jboss.byteman.check.RuleCheckResult
- hashCode() - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- hashCode() - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- hasInfo() - Method in class org.jboss.byteman.check.RuleCheckResult
- hasLocation(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test whether the location of a label is known yet
- hasNext() - Method in class org.jboss.byteman.rule.expression.ThrowExpression.ClassIterator
- hasNext() - Method in class org.jboss.byteman.rule.expression.ThrowExpression.InterfaceIterator
- hasOuterClass() - Method in class org.jboss.byteman.agent.check.BytecodeChecker
- hasOuterClass() - Method in interface org.jboss.byteman.agent.check.ClassChecker
-
identify if the checked class is embedded in an outer class
- hasShadowRegion(TryCatchDetails) - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- hasTransform(Class<?>) - Method in class org.jboss.byteman.agent.RuleScript
-
check whether a rule has been used to transform a specific class.
- hasWarning() - Method in class org.jboss.byteman.check.RuleCheckResult
- helper() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- helper(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Byteman helper class to be used in rule definition.
- helper(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Byteman helper class to be used in rule definition.
- helper(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Class name of Byteman helper class.
- helper(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Class name of Byteman helper class.
- Helper - Class in org.jboss.byteman.rule.helper
-
This is the default helper class which is used to define builtin operations for rules.
- Helper(Rule) - Constructor for class org.jboss.byteman.rule.helper.Helper
- HELPER_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $$ variable which is bound to the current helper instance
- HelperAdapter - Interface in org.jboss.byteman.rule.helper
-
This interface defines the methods which need to be added to a helper class in order for it to plug in to the rule system.
- helperManager - Variable in class org.jboss.byteman.agent.Transformer
-
a manager for helper lifecycle events which can be safely handed on to rules
- HelperManager - Class in org.jboss.byteman.agent
-
class used to manage lifecycle events for rule helpers
- HelperManager(Instrumentation, ModuleSystem) - Constructor for class org.jboss.byteman.agent.HelperManager
-
construct a manager
- HelpMojo - Class in org.jboss.byteman.contrib.rulecheck
-
Display help information on byteman-rulecheck-maven-plugin.
Callmvn rulecheck:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class org.jboss.byteman.contrib.rulecheck.HelpMojo
I
- I - Static variable in class org.jboss.byteman.rule.type.Type
- IDENTIFIER - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- IDENTIFIER - Static variable in class org.jboss.byteman.rule.grammar.sym
- IF - Static variable in class org.jboss.byteman.rule.grammar.sym
- ifCmp(Type, int, Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to jump to a label based on the comparison of the top two stack values.
- ifCondition(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Rule condition when rule will be executed.
- ifFalse() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Condition ensuring that rule won't be executed.
- ifICmp(int, Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to jump to a label based on the comparison of the top two integer stack values.
- ifNonNull(Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to jump to the given label if the top stack value is not null.
- ifNull(Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to jump to the given label if the top stack value is null.
- ifTrue() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Condition ensuring that rule will be executed.
- ifZCmp(int, Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to jump to a label based on the comparison of the top integer stack value with zero.
- iinc(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to increment the given local variable.
- imports(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Setting module import definition for the rule.
- inBytemanHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
check if the current block is a byteman-generated handler i.e.
- inBytemanHandler() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
-
return true if the current block is a handler which catches a byteman exception thrown by the byteman runtime
- inBytemanTrigger() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
check if the current block is a byteman-generated trigger section.
- inBytemanTrigger() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
-
return true if the current block is in a trigger block injected by Byteman
- inClassInitMethod() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining class initialization method as place for rule injection.
- inClassInitMethod(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining class initialization method as place for rule injection.
- includeSubclases() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining that the rule will be injected to all sub-classes or classes implementing the interface.
- inConstructor() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining constructor, special method type, as place for rule injection.
- inConstructor(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining constructor, special method type, as place for rule injection.
- increment() - Method in class org.jboss.byteman.synchronization.Counter
- increment(int) - Method in class org.jboss.byteman.synchronization.Counter
- incrementCounter(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
increment the value of the counter associated with given identifier, creating a new one with count zero if none exists
- incrementCounter(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
increment the value of the counter associated with given identifier by the given amount, creating a new one with count zero if none exists
- index - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- IndexParamAccessCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- IndexParamAccessCheckAdapter(ClassVisitor, TransformContext, int, int, int) - Constructor for class org.jboss.byteman.agent.adapter.IndexParamAccessCheckAdapter
- IndexParamAccessTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- IndexParamAccessTriggerAdapter(ClassVisitor, TransformContext, int, int, int, boolean) - Constructor for class org.jboss.byteman.agent.adapter.IndexParamAccessTriggerAdapter
- inhibitAgentLoad() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
inhibitAgentLoad requests that the Byteman agent not be auto-loaded into the current JVM on behalf of this test.
- init(Instrumentation) - Static method in class org.jboss.byteman.agent.AccessManager
-
Create and return an AccessEnabler to manage enabling reflective access.
- init(Instrumentation) - Static method in class org.jboss.byteman.agent.JigsawAccessManager
-
Create and return a JigsawAccessEnabler to manage enabling reflective access including accessing nonmembers of unexported module classes.
- init_actions() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- initialize(String) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- initialize(String) - Method in interface org.jboss.byteman.modules.ModuleSystem
- initialize(String) - Method in class org.jboss.byteman.modules.NonModuleSystem
- initialize(Retransformer) - Static method in class org.jboss.byteman.agent.TransformListener
- initialize(Retransformer, String, Integer) - Static method in class org.jboss.byteman.agent.TransformListener
- injectFault(Class, String, Class<? extends Throwable>, Object[]) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a fault (i.e.
- injectIntoMethod(String, String) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
- injectIntoMethod(String, String) - Method in class org.jboss.byteman.agent.TransformContext
- injectOnCall(Class, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon the invocation of the specified class.method
- injectOnCall(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon the invocation of the specified class.method
- injectOnExit(Class, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon exit of the specified class.method
- injectOnExit(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon exit of the specified class.method
- injectOnMethod(Class, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectOnMethod(String, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectOnMethodWhere(Class, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectOnMethodWhere(String, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectTriggerPoint() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
-
inject the rule trigger code
- inMethod(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- inMethod(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining method where the rule is injected to.
- inMethod(String, String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining method specified by argument types where the rule is injected to.
- inOpenMonitor() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test whether there are any open monitorenters with no corresponding monitorexit on a path to the current instruction
- inRethrowHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return true if the current block is a rethrow handler i.e.
- inRethrowHandler() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
-
return true if the current block is handler which catches a thrown exception within the scope of a monitor enter in order to be able exit the monitor and rethrow the exception
- INSN_FIELD - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitFieldInsn opcodes
- INSN_IINC - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitIIncInsn opcodes
- INSN_INDYMETH - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitInvokeDynamicInsn opcodes
- INSN_INT - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitIntInsn opcodes
- INSN_JUMP - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitJumpInsn opcodes
- INSN_LDC - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitLdcInsn opcodes
- INSN_LOOKUP - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitTableLookupInsn opcodes
- INSN_METHOD - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitMethodInsn opcodes
- INSN_MULTIANEWARRAY - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitMultiANewArrayInsn opcodes
- INSN_NONE - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitInsn opcodes
- INSN_TSWITCH - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitTableSwitchInsn opcodes
- INSN_TYPE - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitInsn opcodes
- INSN_UNUSED - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for unused opcodes
- INSN_VAR - Static variable in class org.jboss.byteman.agent.adapter.OpcodesHelper
-
instruction type for visitVarInsn opcodes
- insnName(int) - Static method in class org.jboss.byteman.agent.adapter.OpcodesHelper
- insnsSize(int) - Static method in class org.jboss.byteman.agent.adapter.OpcodesHelper
- insnType(int) - Static method in class org.jboss.byteman.agent.adapter.OpcodesHelper
- inst - Variable in class org.jboss.byteman.agent.Transformer
-
the instrumentation interface to the JVM
- install() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Installing/submitting rule to the Byteman agent via instance of instrumentor defined as default to the
RuleConstructor
class. - install(String, boolean, boolean, boolean, String, int, String[]) - Static method in class org.jboss.byteman.agent.install.Install
-
compatability mode
- install(String, boolean, boolean, String, int, String[]) - Static method in class org.jboss.byteman.agent.install.Install
-
compatability mode
- install(String, boolean, String, int, String[]) - Static method in class org.jboss.byteman.agent.install.Install
-
compatability mode
- install(Instrumentor) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Installing/submitting rule to the Byteman agent via instance of instrumentor.
- Install - Class in org.jboss.byteman.agent.install
-
A program which uses the sun.com.tools.attach.VirtualMachine class to install the Byteman agent into a running JVM.
- installBootScripts() - Method in class org.jboss.byteman.agent.Transformer
-
ensure that scripts which apply to classes loaded before registering the transformer are installed by retransforming the relevant classes
- installed() - Method in class org.jboss.byteman.rule.Rule
-
method called when the rule has been successfully injected into a class, type checked and compiled.
- installed(Rule) - Method in class org.jboss.byteman.agent.HelperManager
-
perform install processing for a rule
- installed(Rule) - Static method in class org.jboss.byteman.rule.helper.Helper
- installed(Rule) - Static method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- installHelperJar(String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add the specified jar to the remote app's system classpath.
- installModule(String, String[], String[], Function<String, byte[]>) - Static method in class org.jboss.byteman.layer.LayerFactory
-
Create a module Layer above the boot Layer and install a module into it returning a classloader which can be used to drive installation of classes into the module.
- installParamTypes(Rule, String, int, String, String) - Method in class org.jboss.byteman.check.RuleCheck
- installPolicy() - Method in class org.jboss.byteman.agent.Transformer
- installRule(RuleConstructor) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Installing rule based on definition available by building
RuleConstructor
. - installScript(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Pass the assembled script to the remote JVM, either via.
- installScript(List<String>, List<String>, PrintWriter) - Method in class org.jboss.byteman.agent.Retransformer
- instanceOf(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to test if the top stack value is of the given type.
- InstructionSequence - Class in org.jboss.byteman.agent.adapter.cfg
-
Class used to hold a sequence of instructions within a basic block
- InstructionSequence() - Constructor for class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
- instrumentClass(Class) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add method tracing rules to the specified class.
- instrumentClass(Class, String...) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
- instrumentClass(Class, Set<String>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add method tracing rules to the specified class.
- instrumentClass(String, String...) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
- instrumentClass(String, Set<String>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add method tracing rules to the specified class name.
If a null set of method names is supplied,NullPointerException
is thrown. - InstrumentedClass - Class in org.jboss.byteman.contrib.dtest
-
InstrumentedClass instances serve two purposes: Internally to the framework they provide a communication endpoint for receiving information from the remote, Byteman instrumented code execution.
- InstrumentedInstance - Class in org.jboss.byteman.contrib.dtest
-
InstrumentedInstance instances serve two purposes: Internally to the framework they provide storage of traced method invocation information received from the remote execution via BytemanTestHelper->InstrumentedClass->this.
- Instrumentor - Class in org.jboss.byteman.contrib.dtest
-
The Instrumentor provides for installing tracing and other rules into a remote JVM.
- Instrumentor() - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
- Instrumentor(String, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
- Instrumentor(String, int, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
- Instrumentor(Submit, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
- INTEGER - Static variable in class org.jboss.byteman.rule.type.Type
- INTEGER_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- INTEGER_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- InterfaceIterator(Class<?>) - Constructor for class org.jboss.byteman.rule.expression.ThrowExpression.InterfaceIterator
- internalizeClass(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
convert a classname from external form to canonical form i.e.
- internalizeDescriptor(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
convert a method descriptor from the form used to represent it externally to canonical form
- internalName(Class<?>) - Static method in class org.jboss.byteman.rule.type.Type
- internalName(Class<?>, boolean) - Static method in class org.jboss.byteman.rule.type.Type
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.Action
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.binding.Binding
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.Condition
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.Event
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ArithmeticExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ArrayInitExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.AssignExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.BitExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.BooleanLiteral
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ClassLiteralExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ComparisonExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ConditionalEvalExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.Expression
-
evaluate the expression by interpreting the expression tree
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.LogicalExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.MinusExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.NewExpression
-
evaluate the expression by interpreting the expression tree
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.NotExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.NullLiteral
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.NumericLiteral
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.PlusExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ReturnExpression
-
evaluate the expression by interpreting the expression tree
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ShiftExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.StringLiteral
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.StringPlusExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
-
evaluate the expression by interpreting the expression tree
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.TwiddleExpression
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.expression.Variable
- interpret(HelperAdapter) - Method in class org.jboss.byteman.rule.RuleElement
- interpretAssign(HelperAdapter, Object) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- interpretAssign(HelperAdapter, Object) - Method in class org.jboss.byteman.rule.expression.AssignableExpression
-
execute an assignment to the referenced location by interpretation of the expression, using the object passed in this call
- interpretAssign(HelperAdapter, Object) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- interpretAssign(HelperAdapter, Object) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- interpretAssign(HelperAdapter, Object) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- interpretAssign(HelperAdapter, Object) - Method in class org.jboss.byteman.rule.expression.Variable
- InterpretedHelper - Class in org.jboss.byteman.rule.helper
-
Implementation of RuleHelper which extends the functionality of the standard helper class, Helper, by adding the methods required to implement interface RuleHelper.
- InterpretedHelper(Rule) - Constructor for class org.jboss.byteman.rule.helper.InterpretedHelper
- INTERRUPT - org.jboss.byteman.sample.helper.ThreadMonitorEventType
- invoke(Object[]) - Method in interface org.jboss.byteman.agent.AccessibleConstructorInvoker
- invoke(Object[]) - Method in class org.jboss.byteman.jigsaw.JigsawAccessibleConstructorInvoker
- invoke(Object, Object[]) - Method in interface org.jboss.byteman.agent.AccessibleMethodInvoker
- invoke(Object, Object[]) - Method in class org.jboss.byteman.jigsaw.JigsawAccessibleMethodInvoker
- invoke(String, Object[], String[]) - Method in class org.jboss.byteman.sample.helper.JMXHelper
- INVOKE - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying a method invoke operation or the nth such method invoke if a count is supplied or all method invocations if ALL is specified.
- INVOKE_COMPLETED - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying return from a method invoke operation or the nth such return if a count is supplied or all method invocations if ALL is specified.
- INVOKE_PARAM_ARRAY_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $@ variable which is bound to an array of the invoked method params in an AT INVOKE rule
- invokeAccessibleConstructor(Object[], int) - Method in class org.jboss.byteman.rule.Rule
- invokeAccessibleMethod(Object, Object[], int) - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- invokeAccessibleMethod(Object, Object[], int) - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
- invokeAccessibleMethod(Object, Object[], int) - Method in class org.jboss.byteman.rule.Rule
- InvokeCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- InvokeCheckAdapter(ClassVisitor, TransformContext, String, String, String, int) - Constructor for class org.jboss.byteman.agent.adapter.InvokeCheckAdapter
- invokeConstructor(Type, Method) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to invoke a constructor.
- invokeDynamic(String, String, Handle, Object...) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates an invokedynamic instruction.
- invokeInterface(Type, Method) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to invoke an interface method.
- invokeStatic(Type, Method) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to invoke a static method.
- InvokeTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- InvokeTriggerAdapter(ClassVisitor, TransformContext, String, String, String, int, boolean) - Constructor for class org.jboss.byteman.agent.adapter.InvokeTriggerAdapter
- invokeVirtual(Type, Method) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to invoke a normal method.
- isAgentAttached(String) - Static method in class org.jboss.byteman.agent.install.Install
-
attach to the virtual machine identified by id and return
true
if a Byteman agent has already been attached to it. - isAlias() - Method in class org.jboss.byteman.rule.binding.Binding
- isAllowConfigUpdate() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the allowAgentConfigUpdate setting
- isAllowConfigUpdate() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for currently configured allowAgentConfigUpdate setting which redirects through to the previous config to ensure that we employ the setting used for the initial agent load
- isArray() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is an array type
- isAssignableFrom(Type) - Method in class org.jboss.byteman.rule.type.Type
-
check whether this type can be assigned with values of the supplied type including the case where numeric conversion from known or unknown numeric types but excluding any other cases where this type is undefined n.b.
- isBindVar() - Method in class org.jboss.byteman.rule.binding.Binding
- isBlacklisted(String, String, String) - Method in class org.jboss.byteman.agent.Transformer
-
check whether we are unwilling to inject into a given target method
- isBMUnitVerbose() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the BMUnit verbose setting
- isBMUnitVerbose() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
getter for currently configured BMUnit verbose setting
- isBoolean() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is a boolean type
- isBytemanClass(String) - Static method in class org.jboss.byteman.agent.Transformer
-
test whether a class with a given name is located in the byteman package
- isChecked() - Method in class org.jboss.byteman.rule.Rule
-
has this rule been typechecked and/or compiled
- isCheckedOk() - Method in class org.jboss.byteman.rule.Rule
-
has this rule been typechecked and compiled without error.
- isCheckFailed() - Method in class org.jboss.byteman.rule.Rule
-
has this rule failed to typecheck or compile
- isCompiledOk() - Method in class org.jboss.byteman.agent.Transform
- isCompileToBytecode() - Method in class org.jboss.byteman.agent.RuleScript
- isCompileToBytecode() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether compilation of rules is enabled or disabled
- isCountDown(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to test test if a countdown has been installed
- isDebug() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether debug mode for rule processing is enabled or disabled
- isDebug() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the Byteman debug setting
- isDebug() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for currently configured Byteman debug setting which redirects through to the previous config if config updates are not allowed but otherwise returns the currently configured Byteman debug setting
- isDefined() - Method in class org.jboss.byteman.rule.type.Type
-
check if this type is a known type.
- isDeleted() - Method in class org.jboss.byteman.agent.RuleScript
-
called when indexing a script to ensure that it has not already been deleted.
- isDumpCFG() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether dumping of the control flow graph for the trigger class is enabled
- isDumpCFGPartial() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether dumping of the control flow graph for the trigger class during construction is enabled
- isDumpGeneratedClasses() - Static method in class org.jboss.byteman.agent.Transformer
- isDumpGeneratedClasses() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
getter for current dumpGeneratedClasses setting
- isDumpGeneratedClassesIntermediate() - Static method in class org.jboss.byteman.agent.Transformer
- isDumpGeneratedClassesIntermediate() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for current dumpGeneratedClassesIntermediate setting which only returns the attribute setting if dumpGeneratedClasses has also been set.
- isEmpty() - Method in class org.jboss.byteman.agent.TransformSet
- isFloating() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is a floating type of whatever size, including the unknown primitive numeric type
- isFor(ClassLoader, String) - Method in class org.jboss.byteman.agent.TransformSet
- isHelper() - Method in class org.jboss.byteman.rule.binding.Binding
- isInhibitAgentLoad() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for currently configured inhibitAgentLoad setting which redirects through to the previous config to ensure that we employ the setting used for the initial agent load
- isInstalled() - Method in class org.jboss.byteman.agent.Transform
- isInstalled() - Method in class org.jboss.byteman.agent.TransformSet
- isIntegral() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is an integral type of whatever size, including the unknown primitive numeric type
- isInterface() - Method in class org.jboss.byteman.agent.check.BytecodeChecker
- isInterface() - Method in interface org.jboss.byteman.agent.check.ClassChecker
-
see if the checked class is an interface or really a class
- isInterface() - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- isInterface() - Method in class org.jboss.byteman.agent.RuleScript
- isInterface() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- isInterface() - Method in class org.jboss.byteman.rule.Rule
- isInvokeParamArray() - Method in class org.jboss.byteman.rule.binding.Binding
- isJoin(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
- isLocalVar() - Method in class org.jboss.byteman.rule.binding.Binding
- isNumeric() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is a numeric type, including the unknown primitive numeric type
- isObject() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is an object type, including unbound types mentioned in rules
- isOverride() - Method in class org.jboss.byteman.agent.RuleScript
- isOverride() - Method in class org.jboss.byteman.rule.Rule
- isOverriding() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- isParam() - Method in class org.jboss.byteman.rule.binding.Binding
- isParamArray() - Method in class org.jboss.byteman.rule.binding.Binding
- isParamCount() - Method in class org.jboss.byteman.rule.binding.Binding
- isPoisoned - Variable in class org.jboss.byteman.synchronization.Rendezvous.Counter
-
true if this
- isPolicy() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for currently configured policy setting which redirects through to the previous config to ensure that we employ the setting used for the initial agent load
- isPrimitive() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is a primitive value type
- isRecipient() - Method in class org.jboss.byteman.rule.binding.Binding
- isRedefine - Variable in class org.jboss.byteman.agent.Transformer
-
true if the instrumentor allows redefinition
- isRendezvous(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
test whether a rendezvous with a specific expected count is associated with identifier
- isReturn() - Method in class org.jboss.byteman.rule.binding.Binding
- isSignalled() - Method in class org.jboss.byteman.synchronization.Waiter
-
getter for signalled flag
- isSkipClass(Class<?>) - Method in class org.jboss.byteman.agent.Transformer
-
check whether a class should not be considered for transformation
- isString() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is the string type
- isSuperOrSiblingConstructorCall(int, String, String) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
- isThrowable() - Method in class org.jboss.byteman.rule.binding.Binding
- isTransformable(String) - Method in class org.jboss.byteman.agent.Transformer
-
test whether a class with a given name is a potential candidate for insertion of event notifications
- isTransformed() - Method in class org.jboss.byteman.agent.Transform
- isTriggerClass() - Method in class org.jboss.byteman.rule.binding.Binding
- isTriggerHandler() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- isTriggeringEnabled() - Static method in class org.jboss.byteman.agent.Transformer
-
check if triggering of rules is enabled inside the current thread
- isTriggeringEnabled() - Static method in class org.jboss.byteman.rule.Rule
-
check if triggering of rules is enabled inside the current thread
- isTriggerMethod() - Method in class org.jboss.byteman.rule.binding.Binding
- isUnbound() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is a type mentioned in a rule but not yet bound to a specific class
- isUndefined() - Method in class org.jboss.byteman.rule.type.Type
-
test if this type is an unknown type.
- isUpdated() - Method in class org.jboss.byteman.rule.binding.Binding
-
record that this binding occurs on the LHS of an assignment
- isValue() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is a value type, which includes the boxed versions of primitive types
- isVerbose() - Static method in class org.jboss.byteman.agent.Transformer
-
check whether verbose mode for rule processing is enabled or disabled
- isVerbose() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
getter for the Byteman verbose setting
- isVerbose() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
smart getter for currently configured Byteman verbose setting which redirects through to the previous config if config updates are not allowed but otherwise returns the currently configured Byteman verbose setting
- isVisited() - Method in class org.jboss.byteman.agent.adapter.RuleCheckAdapter
- isVisitOk() - Method in class org.jboss.byteman.agent.adapter.RuleCheckAdapter
- isVoid() - Method in class org.jboss.byteman.rule.type.Type
-
return true if this is the void type
- iterator() - Method in class org.jboss.byteman.agent.adapter.cfg.FanOut
-
obtain an iterator over the target set
- iterator() - Method in class org.jboss.byteman.rule.binding.Bindings
J
- J - Static variable in class org.jboss.byteman.rule.type.Type
- JAVA_LANG_PACKAGE_PREFIX - Static variable in class org.jboss.byteman.agent.Transformer
-
prefix for org.jboss package
- JBossModulesSystem - Class in org.jboss.byteman.modules.jbossmodules
- JBossModulesSystem() - Constructor for class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- JBossModulesSystem.ModuleLoaderWrapper - Class in org.jboss.byteman.modules.jbossmodules
-
Utility class to allow instantiating
ModuleLoader
with jboss-modules version 1.2.0 and earlier (protected constructors) - JigsawAccessEnabler - Class in org.jboss.byteman.jigsaw
-
Implementation of AccessEnabler for use in a Jigsaw enabled JDK runtime n.b.
- JigsawAccessEnabler(Instrumentation) - Constructor for class org.jboss.byteman.jigsaw.JigsawAccessEnabler
-
create an AccessEnabler that is capable of ensuring access when running inside a Jigsaw enabled JDK.
- JigsawAccessEnablerGenerator - Class in org.jboss.byteman.agent
-
class which provides a bytecode definition for class JigsawAccessEnabler
- JigsawAccessEnablerGenerator() - Constructor for class org.jboss.byteman.agent.JigsawAccessEnablerGenerator
- JigsawAccessibleConstructorInvoker - Class in org.jboss.byteman.jigsaw
-
Jigsaw implementation of constructor invoker interface
- JigsawAccessibleConstructorInvoker(MethodHandles.Lookup, Constructor) - Constructor for class org.jboss.byteman.jigsaw.JigsawAccessibleConstructorInvoker
- JigsawAccessibleFieldGetter - Class in org.jboss.byteman.jigsaw
-
Jigsaw implementation of field getter interface
- JigsawAccessibleFieldGetter(MethodHandles.Lookup, Field) - Constructor for class org.jboss.byteman.jigsaw.JigsawAccessibleFieldGetter
- JigsawAccessibleFieldSetter - Class in org.jboss.byteman.jigsaw
-
Jigsaw implementation of field getter interface
- JigsawAccessibleFieldSetter(MethodHandles.Lookup, Field) - Constructor for class org.jboss.byteman.jigsaw.JigsawAccessibleFieldSetter
- JigsawAccessibleMethodInvoker - Class in org.jboss.byteman.jigsaw
-
Jigsaw implementation of method invoker interface
- JigsawAccessibleMethodInvoker(MethodHandles.Lookup, Method) - Constructor for class org.jboss.byteman.jigsaw.JigsawAccessibleMethodInvoker
- JigsawAccessManager - Class in org.jboss.byteman.agent
-
Class used to construct a JigsawAccessEnabler needed when Byteman is running on JDK9+.
- JigsawAccessManager() - Constructor for class org.jboss.byteman.agent.JigsawAccessManager
- JMX_URL - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
-
JMX Url pattern for use when creating the connector server
- JMXHelper - Class in org.jboss.byteman.sample.helper
-
A variant of PeriodicHelper which publishes its stats via JMX
- JMXHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.JMXHelper
-
constructor allowing this helper to be used as a helper
- joinChildren(Thread, long) - Method in class org.jboss.byteman.synchronization.Joiner
- joinEnlist(Object) - Method in class org.jboss.byteman.rule.helper.Helper
- Joiner - Class in org.jboss.byteman.synchronization
-
class used by default helper to implement join dependencies between threads
- Joiner(int) - Constructor for class org.jboss.byteman.synchronization.Joiner
- Joiner.Status - Enum in org.jboss.byteman.synchronization
-
status values returned from child add method
- joinWait(Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
- joinWait(Object, int, long) - Method in class org.jboss.byteman.rule.helper.Helper
K
- KEY_TYPE_CUMULATIVE - Static variable in class org.jboss.byteman.sample.helper.KeyInfo
-
type value identifying a counter whose value should be treated as a running total.
- KEY_TYPE_MEAN - Static variable in class org.jboss.byteman.sample.helper.KeyInfo
-
type value identifying a counter whose value should be used to compute a running average by dividing the running total for the last N samples by N where N is 5.
- KEY_TYPE_RATE - Static variable in class org.jboss.byteman.sample.helper.KeyInfo
-
type value identifying a counter whose value should be used to compute a rate by dividing the sampled count by the time in seconds over which the sample was obtained.
- KeyInfo - Class in org.jboss.byteman.sample.helper
-
Auxiliary class used by the rule set to provide information about which counters the rule system will be updating and how it wants them to be presented in the JMX bean display
- KeyInfo() - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
- KeyInfo(String) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
- KeyInfo(String, String[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
- KeyInfo(String, String[], int[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
- KeyInfo(String, String[], int[], String[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
- KeyInfo(String, String[], String[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
- killJVM() - Method in class org.jboss.byteman.rule.helper.Helper
-
cause the current JVM to halt immediately, simulating a crash as near as possible.
- killJVM(int) - Method in class org.jboss.byteman.rule.helper.Helper
-
cause the current JVM to halt immediately, simulating a crash as near as possible.
- killThread() - Method in class org.jboss.byteman.rule.helper.Helper
-
cause the current thread to throw a runtime exception which will normally cause it to exit.
L
- LayerFactory - Class in org.jboss.byteman.layer
-
Factory class allowing a JVMTI Java agent to define a Jigsaw Module Layer containing a Jigsaw module for the agent to populate with classes provided as byte arrays in class file format
- LayerFactory() - Constructor for class org.jboss.byteman.layer.LayerFactory
- LayerModuleFinder - Class in org.jboss.byteman.layer
-
ModuleFinder implementation used by the module installed by LayerFactory to locate class definitions when an attempt is made to load a class into the module.
- LayerModuleFinder(String, String[], String[], Function<String, byte[]>) - Constructor for class org.jboss.byteman.layer.LayerModuleFinder
-
construct a finder for a single module populated with classes by the supplier classmapper
- LayerModuleReader - Class in org.jboss.byteman.layer
-
Created by adinn on 25/07/16.
- LayerModuleReader(Function<String, byte[]>) - Constructor for class org.jboss.byteman.layer.LayerModuleReader
- LayerModuleReference - Class in org.jboss.byteman.layer
-
Created by adinn on 07/01/17.
- LBRACE - Static variable in class org.jboss.byteman.rule.grammar.sym
- LE - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
ifCmp
method. - LE - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- LE - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- LE - Static variable in class org.jboss.byteman.rule.grammar.sym
- line - Variable in class org.jboss.byteman.rule.expression.Expression
- LINE - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion via a line number.
- LineCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- LineCheckAdapter(ClassVisitor, TransformContext, int) - Constructor for class org.jboss.byteman.agent.adapter.LineCheckAdapter
- LineTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- LineTriggerAdapter(ClassVisitor, TransformContext, int) - Constructor for class org.jboss.byteman.agent.adapter.LineTriggerAdapter
- link(Object, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
add a link to the default LinkMap by calling link("default", name, value)
- link(Object, Object, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
atomically add a link from name to value to the LinkMap identified by mapName returning any previously linked Object or null if no link currently exists in the map
- linked(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
retrieve a link from the default LinkMap by calling linked("default", name)
- linked(Object, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
retrieve the Object name currently is linked to from the LinkMap named by mapName or null if no link currently exists in the map
- linkNames() - Method in class org.jboss.byteman.rule.helper.Helper
-
retrieve all keys in the default linkmap by indirectly calling linkNames("default")
- linkNames(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
atomically return a list of all keys for current links in the map named by mapName
- linkValues() - Method in class org.jboss.byteman.rule.helper.Helper
-
retrieve all values in the default linkmap by indirectly calling linkValues("default")
- linkValues(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
atomically return a list of all values for current links in the map named by mapName
- list() - Method in class org.jboss.byteman.layer.LayerModuleReader
- listAllRules() - Method in class org.jboss.byteman.agent.submit.Submit
-
Tells the Byteman agent to list all deployed rules.
- listScripts(PrintWriter) - Method in class org.jboss.byteman.agent.Retransformer
- listSystemProperties() - Method in class org.jboss.byteman.agent.submit.Submit
-
Returns the system properties set in the Byteman agent VM.
- LOAD_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which identifies the directory from which to start searching for rule script.
- loadArg(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to load the given method argument on the stack.
- loadArgArray() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to load all the method arguments on the stack, as a single object array.
- loadArgs() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to load all the method arguments on the stack.
- loadArgs(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to load the given method arguments on the stack.
- loadDirectory() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
loadDirectory identifies a directory relative to which rule rule script files should be loaded.
- loadHelperAdapter(CL, String, byte[]) - Method in interface org.jboss.byteman.modules.ModuleSystem
-
dynamically load and return a generated helper adapter classes using a custom classloader derived from the trigger class's loader
- loadHelperAdapter(ClassbyteClassLoader, String, byte[]) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- loadHelperAdapter(ClassbyteClassLoader, String, byte[]) - Method in class org.jboss.byteman.modules.NonModuleSystem
- loadLocal(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
load a value onto the stack from a local var slot which can obtained from a call to newLocal or from a lcoal variable table entry.
- loadScriptFile(Class<?>, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
loads a script by calling loadScriptFile(clazz, null, dir)
- loadScriptFile(Class<?>, String, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
loads a script from the load directory using the name of a unit test as the root name for the script file and ".btm" or, failing that, ".txt" for the file extension
- loadScriptText(Class<?>, String, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
loads a script supplied as a text String rather than via a file on disk
- loadThis() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to load 'this' on the stack.
- LOCAL_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index for any local variable which must be further identified via its name
- localCount - Variable in class org.jboss.byteman.rule.compiler.StackHeights
-
number of local variable slots
- LocalScopeMethodVisitor - Interface in org.jboss.byteman.agent.adapter
- LocalVar(String, String, String, Label, Label, int) - Constructor for class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- locateJarFromClasspath(String) - Method in class org.jboss.byteman.agent.install.Install
- locateJarFromHomeDir(String, String, String) - Method in class org.jboss.byteman.agent.install.Install
- Location - Class in org.jboss.byteman.agent
-
Specifies a location in a method at which a rule trigger should be inserted
- Location() - Constructor for class org.jboss.byteman.agent.Location
- LocationClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
- LocationType - Enum in org.jboss.byteman.agent
-
enum categorizing types of locations at which rule triggers can be inserted
- LogicalExpression - Class in org.jboss.byteman.rule.expression
-
A binary logical operator expression
- LogicalExpression(Rule, int, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.LogicalExpression
- LONG - Static variable in class org.jboss.byteman.rule.type.Type
- LONG_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- lookup(ClassLoader, String) - Method in class org.jboss.byteman.agent.check.CheckerCache
- lookup(String) - Method in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- lookup(String) - Method in class org.jboss.byteman.rule.binding.Bindings
-
lookup a binding in the list by name
- lookup(String) - Method in class org.jboss.byteman.rule.type.TypeGroup
-
lookup a type by name dereferencing it to its fully qualified type if that exists
- lookupKey() - Method in class org.jboss.byteman.rule.Rule
-
return the key under which this rule has been indexed in the rule key map
- lookupRule(String, String) - Method in class org.jboss.byteman.agent.TransformContext
-
called by a trigger adapter to find a rule specific to a given trigger method, expects to find a rule created by the corresponding check adapter.
- lookupTransformSet(ClassLoader, String) - Method in class org.jboss.byteman.agent.RuleScript
- LPAREN - Static variable in class org.jboss.byteman.rule.grammar.sym
- LSH - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- LSH - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- LSH - Static variable in class org.jboss.byteman.rule.grammar.sym
- LSQUARE - Static variable in class org.jboss.byteman.rule.grammar.sym
- LT - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
ifCmp
method. - LT - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- LT - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- LT - Static variable in class org.jboss.byteman.rule.grammar.sym
M
- main(String[]) - Static method in class org.jboss.byteman.agent.install.Install
-
main routine for use from command line Install [-h host] [-p port] [-b] [-s] [-m] [-Dorg.jboss.Byteman.xxx]* pid see method
Install.usage(int)
for details of the command syntax - main(String[]) - Static method in class org.jboss.byteman.agent.submit.Submit
-
A main routine which submits requests to the Byteman agent utilizing the Java API.
- main(String[]) - Static method in class org.jboss.byteman.check.TestScript
- main(String[]) - Static method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- Main - Class in org.jboss.byteman.agent
-
agent class supplied at JVM startup to install byteman package bytecode transformer
- Main() - Constructor for class org.jboss.byteman.agent.Main
- mark() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Marks the current code position with a new label.
- mark(Label) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Marks the current code position with the given label.
- match(String[]) - Method in class org.jboss.byteman.rule.type.TypeGroup
- matchClass(Class<?>) - Method in class org.jboss.byteman.agent.ScriptRepository
-
return true if there is a rule which applies to the supplied class otherwise false
- matchIndex(StackTraceElement[], String, boolean, boolean, boolean, int, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
return the index of the first frame at or below index start which matches pattern
- matchTargetMethod(int, String, String) - Method in class org.jboss.byteman.agent.adapter.RuleAdapter
- matchTargetMethod(int, String, String) - Method in class org.jboss.byteman.agent.TransformContext
- math(int, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to do the specified mathematical or logical operation.
- maybeDumpClass(String, byte[]) - Static method in class org.jboss.byteman.agent.Transformer
- maybeDumpClassIntermediate(String, byte[]) - Static method in class org.jboss.byteman.agent.Transformer
- METH - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- MethodClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
- MethodExpression - Class in org.jboss.byteman.rule.expression
-
an expression which identifies a method invocation
- MethodExpression(Rule, Type, ParseNode, Expression, List<Expression>, String[]) - Constructor for class org.jboss.byteman.rule.expression.MethodExpression
- methodInvoker(FrameworkMethod, Object) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
- MINUS - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- MINUS - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- MINUS - Static variable in class org.jboss.byteman.rule.grammar.sym
- MinusExpression - Class in org.jboss.byteman.rule.expression
- MinusExpression(Rule, ParseNode, Expression) - Constructor for class org.jboss.byteman.rule.expression.MinusExpression
- MOD - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- MOD - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- MOD - Static variable in class org.jboss.byteman.rule.grammar.sym
- ModuleLoaderWrapper(ModuleFinder[]) - Constructor for class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem.ModuleLoaderWrapper
- ModuleSystem<CL extends ClassLoader> - Interface in org.jboss.byteman.modules
- ModuleUsingClassbyteClassLoader - Class in org.jboss.byteman.modules.jbossmodules
- ModuleUsingClassbyteClassLoader(Module, ClassLoader) - Constructor for class org.jboss.byteman.modules.jbossmodules.ModuleUsingClassbyteClassLoader
- monitorEnter() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to get the monitor of the top stack value.
- monitorExit() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to release the monitor of the top stack value.
- MUL - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - MUL - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- MUL - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- MUL - Static variable in class org.jboss.byteman.rule.grammar.sym
N
- N - Static variable in class org.jboss.byteman.rule.type.Type
- name - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- name - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- name() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- NE - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
ifCmp
method. - NE - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- NE - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- NE - Static variable in class org.jboss.byteman.rule.grammar.sym
- needsRemove() - Method in class org.jboss.byteman.synchronization.Rendezvous
-
check if the rendezvous has completed but has not yet been removed
- NEG - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - NEW - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- NEW - Static variable in class org.jboss.byteman.rule.grammar.sym
- newArray(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to create a new array.
- NewExpression - Class in org.jboss.byteman.rule.expression
-
Expression which implements a new operation.
- NewExpression(Rule, ParseNode, List<Expression>, List<Expression>, ArrayInitExpression) - Constructor for class org.jboss.byteman.rule.expression.NewExpression
- newInstance(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to create a new object.
- newLabel() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Creates a new
Label
. - newLocal(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
return a new local slot index for a local var not currently in use.
- newMonitoredThread(Thread) - Static method in class org.jboss.byteman.sample.helper.ThreadMonitored
-
Creating new instance of
ThreadMonitored
. - newThreadEvent(ThreadMonitored, Thread, ThreadMonitorEventType) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
Common ThreadMonitorEvent creation method.
- next() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return the label of the next block in line in the block sequence in bytecode order.
- next() - Method in class org.jboss.byteman.rule.expression.ThrowExpression.ClassIterator
- next() - Method in class org.jboss.byteman.rule.expression.ThrowExpression.InterfaceIterator
- next_token() - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- nextLocation() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return a location which will identify the next instruction added to the current block
- nocompile() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Defines rule for not being compiled.
- node(int, String, int, int) - Static method in class org.jboss.byteman.rule.grammar.ParseNode
-
create a simple node for a builtin token
- node(int, String, int, int, Object) - Static method in class org.jboss.byteman.rule.grammar.ParseNode
-
create a simple node for a builtin token
- node(int, String, int, int, Object, Object) - Static method in class org.jboss.byteman.rule.grammar.ParseNode
-
create a simple node for a builtin token
- node(int, String, int, int, Object, Object, Object) - Static method in class org.jboss.byteman.rule.grammar.ParseNode
-
create a simple node for a builtin token
- node(int, String, int, int, Object, Object, Object, Object) - Static method in class org.jboss.byteman.rule.grammar.ParseNode
-
create a simple node for a builtin token
- noisy(String) - Static method in class org.jboss.byteman.rule.helper.Helper
-
punts to static call dotraceln("nzy", msg) to print msg to the "nzy" trace stream when the noisy log level is enabled
- noisyTraceException(Throwable) - Static method in class org.jboss.byteman.rule.helper.Helper
-
Print the stack trace to System.out when the noisy log level is enabled
- NonModuleSystem - Class in org.jboss.byteman.modules
- NonModuleSystem() - Constructor for class org.jboss.byteman.modules.NonModuleSystem
- normaliseLoadDirectory(BMScript) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
- not() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to compute the bitwise negation of the top stack value.
- NOT - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- NOT - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- NOT - Static variable in class org.jboss.byteman.rule.grammar.sym
- NotExpression - Class in org.jboss.byteman.rule.expression
- NotExpression(Rule, ParseNode, Expression) - Constructor for class org.jboss.byteman.rule.expression.NotExpression
- NOTHING - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- NOTHING - Static variable in class org.jboss.byteman.rule.grammar.sym
- notifySourceEnd() - Method in class org.jboss.byteman.rule.compiler.CompileContext
- notifySourceLine(int) - Method in class org.jboss.byteman.rule.compiler.CompileContext
- nOuts() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return a count of the normal control flow links from this block.
- nthOut(int) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return the label of the nth normal control flow link
- NULL_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- NULL_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- NullLiteral - Class in org.jboss.byteman.rule.expression
-
an expression which identifies a null value
- NullLiteral(Rule, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.NullLiteral
- NUMBER - Static variable in class org.jboss.byteman.rule.type.Type
- NumericLiteral - Class in org.jboss.byteman.rule.expression
- NumericLiteral(Rule, Type, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.NumericLiteral
O
- OBJECT - Static variable in class org.jboss.byteman.rule.type.Type
- onClass(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- onClass(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
-
Class that rule event is associated to.
- onClass(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- onClass(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
-
Class name that rule event is associated to.
- onFinish(ITestContext) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- onInterface(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- onInterface(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
-
Interface that rule event is associated to.
- onInterface(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- onInterface(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
-
Interface name that rule event is associated to.
- onStart(ITestContext) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- onTestFailure(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- onTestSkipped(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- onTestStart(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- onTestSuccess(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- OpcodesHelper - Class in org.jboss.byteman.agent.adapter
- OpcodesHelper() - Constructor for class org.jboss.byteman.agent.adapter.OpcodesHelper
- open() - Method in class org.jboss.byteman.layer.LayerModuleReference
- openTrace(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
version for backwards compatibility -- docs and original code were mismatched
- openTrace(Object, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
version for backwards compatibility -- docs and original code were mismatched
- oper - Variable in class org.jboss.byteman.rule.expression.OperExpression
- OperExpression - Class in org.jboss.byteman.rule.expression
-
generic operator expression subsumes unary, binary and ternary operators
- OR - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - OR - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- OR - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- OR - Static variable in class org.jboss.byteman.rule.grammar.sym
- org.jboss.byteman.agent - package org.jboss.byteman.agent
- org.jboss.byteman.agent.adapter - package org.jboss.byteman.agent.adapter
- org.jboss.byteman.agent.adapter.cfg - package org.jboss.byteman.agent.adapter.cfg
- org.jboss.byteman.agent.check - package org.jboss.byteman.agent.check
- org.jboss.byteman.agent.install - package org.jboss.byteman.agent.install
- org.jboss.byteman.agent.submit - package org.jboss.byteman.agent.submit
- org.jboss.byteman.check - package org.jboss.byteman.check
- org.jboss.byteman.contrib.bmunit - package org.jboss.byteman.contrib.bmunit
- org.jboss.byteman.contrib.dtest - package org.jboss.byteman.contrib.dtest
- org.jboss.byteman.contrib.rulecheck - package org.jboss.byteman.contrib.rulecheck
- org.jboss.byteman.jigsaw - package org.jboss.byteman.jigsaw
- org.jboss.byteman.layer - package org.jboss.byteman.layer
- org.jboss.byteman.modules - package org.jboss.byteman.modules
- org.jboss.byteman.modules.jbossmodules - package org.jboss.byteman.modules.jbossmodules
- org.jboss.byteman.rule - package org.jboss.byteman.rule
- org.jboss.byteman.rule.binding - package org.jboss.byteman.rule.binding
- org.jboss.byteman.rule.compiler - package org.jboss.byteman.rule.compiler
- org.jboss.byteman.rule.exception - package org.jboss.byteman.rule.exception
- org.jboss.byteman.rule.expression - package org.jboss.byteman.rule.expression
- org.jboss.byteman.rule.grammar - package org.jboss.byteman.rule.grammar
- org.jboss.byteman.rule.helper - package org.jboss.byteman.rule.helper
- org.jboss.byteman.rule.type - package org.jboss.byteman.rule.type
- org.jboss.byteman.sample.helper - package org.jboss.byteman.sample.helper
- org.jboss.byteman.synchronization - package org.jboss.byteman.synchronization
- out(String) - Static method in class org.jboss.byteman.rule.helper.Helper
-
punts to static call dotraceln("out", msg) to print msg to the "out" trace stream
- outTraceException(Throwable) - Static method in class org.jboss.byteman.rule.helper.Helper
-
Print the stack trace for th to the "out" trace stream
P
- PARAM_ARRAY_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $* variable which is bound to an array of the trigger method params
- PARAM_COUNT_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $# variable which is bound to the count of number of trigger method params
- parameterText(String) - Static method in enum org.jboss.byteman.agent.LocationType
- paramSlotIdx(int, String, int) - Static method in class org.jboss.byteman.rule.type.Type
-
identify the local var slot used to store a method parameter identified by parameter index
- ParseException - Exception in org.jboss.byteman.rule.exception
-
used to notify an exception during rule parsing
- ParseException(String) - Constructor for exception org.jboss.byteman.rule.exception.ParseException
- ParseException(String, Throwable) - Constructor for exception org.jboss.byteman.rule.exception.ParseException
- parseFieldDescriptor(String) - Static method in class org.jboss.byteman.rule.type.Type
- parseMethodDescriptor(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
split off the signature following the method name and return it
- parseMethodDescriptor(String, boolean) - Static method in class org.jboss.byteman.rule.type.Type
- parseMethodName(String) - Static method in class org.jboss.byteman.rule.type.TypeHelper
-
split off the method name preceding the signature and return it
- parseMethodReturnType(String) - Static method in class org.jboss.byteman.rule.type.Type
- ParseNode - Class in org.jboss.byteman.rule.grammar
-
Class used by the JavaCUP parser to construct a parse tree.
- ParseNode(int, String, int, int) - Constructor for class org.jboss.byteman.rule.grammar.ParseNode
-
generic constructor
- parseRule() - Method in class org.jboss.byteman.agent.TransformContext
- PATH - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- PeriodicHelper - Class in org.jboss.byteman.sample.helper
-
A helper class which adds a background thread when the helper class is activated and removes the background thread when it is deactivated.
- PeriodicHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.PeriodicHelper
- periodicTrigger() - Method in class org.jboss.byteman.sample.helper.PeriodicHelper
-
a method which is called at regular intervals by the periodic helper thread to trigger rule processing.
- PLUS - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- PLUS - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- PLUS - Static variable in class org.jboss.byteman.rule.grammar.sym
- PlusExpression - Class in org.jboss.byteman.rule.expression
-
A plus operator expression which handles the case where we do not know the type of the first operand.
- PlusExpression(Rule, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.PlusExpression
- policy() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
policy configures whether or not to set a security policy when loading the agent.
- pop() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a POP instruction.
- pop2() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a POP2 instruction.
- popConfigurationState(Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- popConfigurationState(Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- popLocal(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
free a previously allocated local slot
- premain(String, Instrumentation) - Static method in class org.jboss.byteman.agent.Main
- PrintableSymbol - Class in org.jboss.byteman.rule.grammar
-
Subclass of Symbol which knows how to print itself symbolically rather than as a numeric symbol type
- PrintableSymbol(int, Object) - Constructor for class org.jboss.byteman.rule.grammar.PrintableSymbol
- PrintableSymbol(int, String, int, int) - Constructor for class org.jboss.byteman.rule.grammar.PrintableSymbol
- PrintableSymbol(int, String, int, int, Object) - Constructor for class org.jboss.byteman.rule.grammar.PrintableSymbol
- printFrame(StringBuffer, StackTraceElement) - Method in class org.jboss.byteman.rule.helper.Helper
-
print the details of stack frame to buffer
- printLabelOffset(StringBuffer, Label, boolean, Object) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
- printlnFrame(StringBuffer, StackTraceElement) - Method in class org.jboss.byteman.rule.helper.Helper
-
print the details of stack frame followed by a newline to buffer by calling printlnFrame(buffer, frame) then buffer.append('\n')
- processScripts(String, String) - Method in class org.jboss.byteman.agent.ScriptRepository
-
Split the text of a script file into a list of individual rule scripts
- production_table() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- promote(Type, Type) - Static method in class org.jboss.byteman.rule.type.Type
-
compute the type to which a binary arithmetic operator should promote its operands before combination based on the two operand types which is also the type to be used for the result of the operation
- pruneCandidates(List<Constructor>, int, Class) - Method in class org.jboss.byteman.rule.expression.NewExpression
- pruneCandidates(List<Constructor>, int, Class) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
- pruneCandidates(List<Method>, int, Class) - Method in class org.jboss.byteman.rule.expression.MethodExpression
-
prune the candidates list removing all methods whose parameter at index argIdx cannot be assigned to class argClazz
- purge() - Method in class org.jboss.byteman.agent.RuleScript
-
uninstall all transforms associated with this script.
- purge() - Method in class org.jboss.byteman.rule.Rule
-
delete any reference to the rule from the rule map
- purge(ClassLoader, String) - Method in class org.jboss.byteman.agent.RuleScript
-
delete any transforms associated with a specific trigger class and loader for deletion.
- push(boolean) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- push(double) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- push(float) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- push(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- push(long) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- push(String) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- push(Handle) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push a handle on the stack.
- push(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to push the given value on the stack.
- pushConfigurationState(BMUnitConfig, Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
install the configuration for a specific test class, possibly also adopting it as the default configuration this method is not thread-safe.
- pushConfigurationState(BMUnitConfig, Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- put(ClassLoader, String, BytecodeChecker) - Method in class org.jboss.byteman.agent.check.CheckerCache
- putField(Type, String, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to store the top stack value in a non static field.
- putStatic(Type, String, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to store the top stack value in a static field.
Q
- QUOTEDIDENT - Static variable in class org.jboss.byteman.rule.grammar.ECATokenLexer
R
- RBRACE - Static variable in class org.jboss.byteman.rule.grammar.sym
- read(String) - Method in class org.jboss.byteman.layer.LayerModuleReader
- READ - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying a field read operation or the nth such field read if a count is supplied or all field reads if ALL is specified.
- READ_COMPLETED - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying a field read operation or the nth such field read if a count is supplied or all field reads if ALL is specified.
- readCounter(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
read the value of the counter associated with given identifier, creating a new one with count zero if none exists
- readCounter(Object, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
read and optionally reset to zero the value of the counter associated with given identifier, creating a new one with count zero if none exists
- rebox(Type, Type, Object) - Method in class org.jboss.byteman.rule.RuleElement
- recordCompile(Rule, String, ClassLoader, boolean, String) - Method in class org.jboss.byteman.agent.RuleScript
-
record the fact that a rule has been compiled with or without success
- recordFailedTransform(ClassLoader, String, Throwable) - Method in class org.jboss.byteman.agent.RuleScript
-
record the fact that an error was thrown when attempting to transform a given class using this rule script
- recordFailedTransform(Throwable) - Method in class org.jboss.byteman.agent.TransformContext
- recordMethodTransform(ClassLoader, String, String, String, Rule) - Method in class org.jboss.byteman.agent.RuleScript
-
record the fact that a trigger call has been successfully installed into bytecode associated with a specific class and loader and a corresponding rule instance been installed
- recordTransform(ClassLoader, String, String, String, Rule, Throwable) - Method in class org.jboss.byteman.agent.RuleScript
-
record the fact that a trigger call has failed to install into bytecode associated with a specific class and loader
- reduce_table() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- registerHelperMBean(String) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
Register the INSTANCE as an mbean under the given name.
- REM - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - RemoteInterface - Interface in org.jboss.byteman.contrib.dtest
-
RMI communication endpoint interface, exposed by the test runner for the purpose of receiving remote method trace information from code instrumented by Byteman Rules.
- remoteTrace(String, String, Object[]) - Method in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
-
Send trace information to a remote listener.
- remove() - Method in class org.jboss.byteman.rule.expression.ThrowExpression.ClassIterator
- remove() - Method in class org.jboss.byteman.rule.expression.ThrowExpression.InterfaceIterator
- removeAllInstrumentation() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Flush any instrumentation for the given class in the remote system and clean up the local cache.
- removeLocalState() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Flush the local cache of scripts and proxies to remote instrumented classes.
- removeRule(RuleConstructor) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Removing particular script installed as a rule by
RuleConstructor
. - removeScript(String) - Method in class org.jboss.byteman.agent.ScriptRepository
-
remove a rule script from the repository by name returning the script if it is found or null if is not found.
- removeScript(String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Removing particular script from the remote byteman agent.
- removeScript(RuleScript) - Method in class org.jboss.byteman.agent.ScriptRepository
-
remove a rule script from the repository returning the script if it is found or null if is not found.
- removeScripts(List<String>, PrintWriter) - Method in class org.jboss.byteman.agent.Retransformer
- rendezvous(long) - Method in class org.jboss.byteman.synchronization.Rendezvous
-
enter this rendezvous.
- rendezvous(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
meet other threads at a given rendezvous returning only when the expected number have arrived
- rendezvous(Object, long) - Method in class org.jboss.byteman.rule.helper.Helper
-
meet other threads at a given rendezvous returning either when the expected number have arrived or if a timeout is exceeded
- Rendezvous - Class in org.jboss.byteman.synchronization
-
class used to manage rule rendezvous operations
- Rendezvous(int) - Constructor for class org.jboss.byteman.synchronization.Rendezvous
- Rendezvous(int, boolean) - Constructor for class org.jboss.byteman.synchronization.Rendezvous
- Rendezvous.Counter - Class in org.jboss.byteman.synchronization
-
class encapsulating state for a specific rendezvous
- report_error(String, Object) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- reportUnexpectedImports(String[]) - Method in class org.jboss.byteman.modules.NonModuleSystem
- requiresAccess(Class<?>) - Method in interface org.jboss.byteman.agent.AccessEnabler
-
test whether reference to the class from a classpath class requires the use of reflection or a method handle and possibly also module jiggery-pokery.
- requiresAccess(Class<?>) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
-
test whether reference to the class from a classpath class requires the use of reflection or a method handle and possibly also module jiggery-pokery.
- requiresAccess(Class<?>) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
-
test whether reference to the class from a classpath class requires the use of reflection or a method handle and possibly also module jiggery-pokery.
- requiresAccess(AccessibleObject) - Method in interface org.jboss.byteman.agent.AccessEnabler
-
test whether access to the accessible from a classpath class requires the use of reflection or a method handle and possibly also module jiggery-pokery.
- requiresAccess(AccessibleObject) - Method in class org.jboss.byteman.agent.DefaultAccessEnabler
-
test whether access to the accessible from a classpath class requires the use of reflection or a method handle and possibly also module jiggery-pokery.
- requiresAccess(AccessibleObject) - Method in class org.jboss.byteman.jigsaw.JigsawAccessEnabler
- requiresAccess(Field) - Method in class org.jboss.byteman.rule.Rule
- requiresAccess(Method) - Method in class org.jboss.byteman.rule.Rule
- requiresAccess(Type) - Method in class org.jboss.byteman.rule.Rule
- reset() - Method in class org.jboss.byteman.synchronization.Timer
- resetConfigurationState(Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- resetConfigurationState(Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- resetPeriod(long) - Method in class org.jboss.byteman.sample.helper.PeriodicHelper
-
a method which is called when the periodic helper thread is about to wait which by default returns the input value.
- resetTimer(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
reset the timer associated with given identifier, creating a new one if none exists
- resolve(ClassLoader) - Method in class org.jboss.byteman.rule.type.Type
- resolveTypes() - Method in class org.jboss.byteman.rule.type.TypeGroup
-
try to associate each type in the typegroup with a class
- RESOURCE_LOAD_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
System property which identifies the resource load directory from which to start searching for rule script.
- resourceLoadDirectory() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
resourceLoadDirectory identifies a resource path relative to which rule script resources should be loaded.
- ret(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a RET instruction.
- Retransformer - Class in org.jboss.byteman.agent
-
byte code transformer used to introduce byteman events into JBoss code
- Retransformer(Instrumentation, ModuleSystem, List<String>, List<String>, boolean) - Constructor for class org.jboss.byteman.agent.Retransformer
-
constructor allowing this transformer to be provided with access to the JVM's instrumentation implementation
- RETURN - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- RETURN - Static variable in class org.jboss.byteman.rule.grammar.sym
- RETURN_VALUE_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $! variable which is bound to the current return value on stack in AT RETURN rule
- ReturnExpression - Class in org.jboss.byteman.rule.expression
-
A return expression which is used in a rule action to cause a return from the rule trigger method, supplying a return value where appropriate.
- ReturnExpression(Rule, ParseNode, Expression) - Constructor for class org.jboss.byteman.rule.expression.ReturnExpression
- returnValue() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to return the top stack value to the caller.
- RMIREGISTRY_PORT_PROPERTY_NAME - Static variable in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
- RPAREN - Static variable in class org.jboss.byteman.rule.grammar.sym
- RSH - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- RSH - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- RSH - Static variable in class org.jboss.byteman.rule.grammar.sym
- RSQUARE - Static variable in class org.jboss.byteman.rule.grammar.sym
- rule - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- rule - Variable in class org.jboss.byteman.rule.expression.Expression
- rule - Variable in class org.jboss.byteman.rule.helper.Helper
- rule - Variable in class org.jboss.byteman.rule.RuleElement
- Rule - Class in org.jboss.byteman.rule
-
A rule ties together an event, condition and action.
- RuleAdapter - Class in org.jboss.byteman.agent.adapter
-
generic asm Adapter class specialised by both check adapters (RuleCheckAdapter) and trigger adapters (RuleTriggerAdapter)
- RuleAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.RuleAdapter
- RuleBuilder - Class in org.jboss.byteman.contrib.dtest
-
Deprecated.use
RuleConstructor
- RuleBuilder(String) - Constructor for class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- RuleCheck - Class in org.jboss.byteman.check
- RuleCheck() - Constructor for class org.jboss.byteman.check.RuleCheck
- RuleCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- RuleCheckAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.RuleCheckAdapter
- RuleCheckMethodAdapter - Class in org.jboss.byteman.agent.adapter
-
class which provides base functionality extended by all the location-specific method check adapters
- RuleCheckMojo - Class in org.jboss.byteman.contrib.rulecheck
-
Check the byteman script rule
- RuleCheckMojo() - Constructor for class org.jboss.byteman.contrib.rulecheck.RuleCheckMojo
- RuleCheckResult - Class in org.jboss.byteman.check
- RuleCheckResult() - Constructor for class org.jboss.byteman.check.RuleCheckResult
- RuleConstructor - Class in org.jboss.byteman.contrib.dtest
-
Provides a fluent API for creating Byteman rules without needing to mess around with String concatenation.
- RuleConstructor.ActionClause - Class in org.jboss.byteman.contrib.dtest
- RuleConstructor.ClassClause - Class in org.jboss.byteman.contrib.dtest
- RuleConstructor.ConditionClause - Class in org.jboss.byteman.contrib.dtest
- RuleConstructor.LocationClause - Class in org.jboss.byteman.contrib.dtest
- RuleConstructor.MethodClause - Class in org.jboss.byteman.contrib.dtest
- RuleElement - Class in org.jboss.byteman.rule
-
generic class implemented by rule events, conditions and actions which gives them access to the rule context and provides them with common behaviours
- RuleElement(Rule) - Constructor for class org.jboss.byteman.rule.RuleElement
- RuleGeneratorAdapter - Class in org.jboss.byteman.agent.adapter
-
A modified version of the asm 3.0 GeneratorAdapter class which dispatches calls to methods of MethodVisitor to this rather than to the encapsulated MethodVisitor instance in field mv.
- RuleGeneratorAdapter(MethodVisitor, TransformContext, int, String, String, Rule) - Constructor for class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Creates a new
RuleGeneratorAdapter
. - RuleMethodAdapter - Class in org.jboss.byteman.agent.adapter
-
generic rule method adapter which extends GeneratorAdpater and adds the ability to track in-scope local variables
- RuleMethodAdapter(MethodVisitor, TransformContext, int, String, String, Rule) - Constructor for class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- RuleMethodAdapter.LocalVar - Class in org.jboss.byteman.agent.adapter
- rules() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRules
- RuleScript - Class in org.jboss.byteman.agent
-
details of a single rule obtained from a rule file.
- RuleScript(String, String, boolean, boolean, String, String, String[], Location, String, int, String, boolean) - Constructor for class org.jboss.byteman.agent.RuleScript
-
standard constructor for a rule
- RuleTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of some given class
- RuleTriggerAdapter(ClassVisitor, TransformContext) - Constructor for class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
- RuleTriggerMethodAdapter - Class in org.jboss.byteman.agent.adapter
-
class which provides base functionality extended by all the location-specific method trigger adapters
- run() - Method in class org.jboss.byteman.agent.TransformListener
- run(IHookCallBack, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
-
implement standard run behaviour by devolving control back to the original runner using the hook callback
- RUN - org.jboss.byteman.sample.helper.ThreadMonitorEventType
S
- S - Static variable in class org.jboss.byteman.rule.type.Type
- scan() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- scriptForRuleName(String) - Method in class org.jboss.byteman.agent.ScriptRepository
-
locate a rule script with a given name
- scriptRepository - Variable in class org.jboss.byteman.agent.Transformer
-
a mapping from target class names which appear in rules to a script object holding the rule details
- ScriptRepository - Class in org.jboss.byteman.agent
-
Class to manage indexing and lookup of rule scripts by rule name and by either class or interface name
- ScriptRepository(boolean) - Constructor for class org.jboss.byteman.agent.ScriptRepository
- scripts() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMScripts
- scriptsForClassName(String) - Method in class org.jboss.byteman.agent.ScriptRepository
-
return a list of all class scripts indexed using the supplied name.
- scriptsForInterfaceName(String) - Method in class org.jboss.byteman.agent.ScriptRepository
-
return a list of all interface scripts indexed using the supplied name.
- ScriptText - Class in org.jboss.byteman.agent.submit
-
storage for a script file name and the corresponding script text
- ScriptText(String) - Constructor for class org.jboss.byteman.agent.submit.ScriptText
- ScriptText(String, String) - Constructor for class org.jboss.byteman.agent.submit.ScriptText
- secondOut() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return the label of the second normal control flow link
- SEMI - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- SEMI - Static variable in class org.jboss.byteman.rule.grammar.sym
- set(Object, Object) - Method in interface org.jboss.byteman.agent.AccessibleFieldSetter
- set(Object, Object) - Method in class org.jboss.byteman.jigsaw.JigsawAccessibleFieldSetter
- setAccessibleField(Object, Object, int) - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- setAccessibleField(Object, Object, int) - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
- setAccessibleField(Object, Object, int) - Method in class org.jboss.byteman.rule.Rule
- setAction(String) - Method in class org.jboss.byteman.rule.Rule
- setActiveTryStarts(List<TryCatchDetails>) - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
set the list of try starts which are active somewhere in this block.
- setAttribute(Attribute) - Method in class org.jboss.byteman.sample.helper.JMXHelper
- setAttributes(AttributeList) - Method in class org.jboss.byteman.sample.helper.JMXHelper
- setBinding(String, Object) - Method in interface org.jboss.byteman.rule.helper.HelperAdapter
- setBinding(String, Object) - Method in class org.jboss.byteman.rule.helper.InterpretedHelper
- setCallArrayIndex(int) - Method in class org.jboss.byteman.rule.binding.Binding
- setCompiled(boolean, String) - Method in class org.jboss.byteman.agent.Transform
- setCondition(String) - Method in class org.jboss.byteman.rule.Rule
- setCreatedBy(ThreadMonitored) - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- setDefaultInstrumentor(Instrumentor) - Static method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Setting default initialize instance of
Instrumentor
class that will be used whenRuleConstructor.install()
/RuleConstructor.submit()
method is used for the created rule.
You can define this default Instrumentor which could be used whenever the new rule is submitted to the Byteman agent.
null
is permitted thenRuleConstructor.install()
method throws exception - setDeleted() - Method in class org.jboss.byteman.agent.RuleScript
-
invoked by the scriptmanager when a rule is redefined to inhibit further transformations via this script
- setDescriptor(String) - Method in class org.jboss.byteman.rule.binding.Binding
- setEarlyReturnHandler(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- setEnd(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- setEvent(String) - Method in class org.jboss.byteman.rule.Rule
- setExecuteHandler(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- setFile(String) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- setFile(String) - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- setHelperClass(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Redefine a helper class which is used as parameter of
HELPER
clause by this instance ofInstrumentor
- setInstalled() - Method in class org.jboss.byteman.agent.Transform
- setInstalled(Rule) - Method in class org.jboss.byteman.agent.TransformSet
- setLocalIndex(int) - Method in class org.jboss.byteman.rule.binding.Binding
- setLocation(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
set the location of a label to the next instruction offset in the current block
- setPrintStream(PrintStream) - Method in class org.jboss.byteman.check.RuleCheck
- setRedirectedSubmissionsFile(File) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Sets the file to which Rule submissions should be redirected.
- setRemoved() - Method in class org.jboss.byteman.synchronization.Rendezvous
-
mark a completed rendezvous to indicate that it has been removed
- setRunnableClass(Class<?>) - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- setStart(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- setStartLine(int) - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- setSystemProperties(Properties) - Method in class org.jboss.byteman.agent.submit.Submit
-
Sets system properties in the Byteman agent VM.
- setThrowHandler(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
- setTriggering(boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
enable or disable recursive triggering of rules by subsequent operations performed during binding, testing or firing of the current rule in the current thread.
- setTriggeringMethod - Static variable in class org.jboss.byteman.rule.expression.MethodExpression
- setTriggerPoint() - Method in class org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
- setType(Type) - Method in class org.jboss.byteman.rule.binding.Binding
- setTypeInfo(String, int, String, String, String[]) - Method in class org.jboss.byteman.rule.Rule
- setUp() - Method in class org.jboss.byteman.contrib.bmunit.BMTestCase
- setUpdated() - Method in class org.jboss.byteman.rule.binding.Binding
-
record that this binding occurs on the LHS of an assignment
- setValue(Expression) - Method in class org.jboss.byteman.rule.binding.Binding
- setVerbose() - Method in class org.jboss.byteman.check.RuleCheck
- setVisited() - Method in class org.jboss.byteman.agent.adapter.RuleCheckAdapter
- setVisitOk() - Method in class org.jboss.byteman.agent.adapter.RuleCheckAdapter
- ShiftExpression - Class in org.jboss.byteman.rule.expression
-
A binary arithmetic operator expression
- ShiftExpression(Rule, int, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.ShiftExpression
- SHL - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - SHORT - Static variable in class org.jboss.byteman.rule.type.Type
- SHR - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - signalKill(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
for backwards compatibility
- signalKill(Object, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
for backwards compatibility
- signalThrow() - Method in class org.jboss.byteman.synchronization.Waiter
- signalThrow(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
call signalThrow(Object, boolean) defaulting the second argument to false
- signalThrow(Object, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
signal an event identified by the suppied object, causing all waiting threads to throw an exception and clearing the event.
- signalWake() - Method in class org.jboss.byteman.synchronization.Waiter
- signalWake(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
call signalWake(Object, boolean) defaulting the second argument to false
- signalWake(Object, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
signal an event identified by the supplied object, causing all waiting threads to resume rule processing and clearing the event.
- signature - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- size() - Method in class org.jboss.byteman.agent.adapter.cfg.InstructionSequence
-
return the number of instructions in the sequence
- SKIP_OVERRIDE_RULES - Static variable in class org.jboss.byteman.agent.Transformer
-
system property which turns off injection into overriding methods
- skipOverrideRules() - Method in class org.jboss.byteman.agent.ScriptRepository
-
check whether any overriding rules are currently loaded
- skipOverrideRules() - Method in class org.jboss.byteman.agent.Transformer
-
check whether compilation of rules is enabled or disabled
- specifierText() - Method in enum org.jboss.byteman.agent.LocationType
- split(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
split the graph at a control-flow dead-end using the label provided to identify the new current block.
- split(Label, Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
split the graph at a control-flow goto point using the labels provided to identify the new current block and the goto target.
- split(Label, Label, Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
split the graph at a control-flow if branch point using the labels provided to identify the new current block the if branch target and the else branch target.
- split(Label, Label, Label[]) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
split the graph at a control-flow switch branch point using the labels provided to identify the new current block, the switch case default branch target and the rest of the switch case branch targets.
- splitAllRulesFromScript(String) - Method in class org.jboss.byteman.agent.submit.Submit
-
Given the content of a script (which will be one or more rule definitions), this will return each rule definition as an individual string within the returned list.
- stackCount - Variable in class org.jboss.byteman.rule.compiler.StackHeights
-
number of stack slots
- StackHeights - Class in org.jboss.byteman.rule.compiler
-
container to track either the current or the maximum local variable count and stack height while generating compiled code for a rule
- StackHeights() - Constructor for class org.jboss.byteman.rule.compiler.StackHeights
-
create withinitial counts 0
- StackHeights(StackHeights) - Constructor for class org.jboss.byteman.rule.compiler.StackHeights
-
create a copy with the same counts as the original
- start - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter.LocalVar
- START - org.jboss.byteman.sample.helper.ThreadMonitorEventType
- start_production() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- start_state() - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- StaticExpression - Class in org.jboss.byteman.rule.expression
-
an expression which identifies a static field reference
- StaticExpression(Rule, Type, ParseNode, String, String) - Constructor for class org.jboss.byteman.rule.expression.StaticExpression
- storeArg(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to store the top stack value in the given method argument.
- storeLocal(int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
save a value on the stack to a local var slot
- STRING - Static variable in class org.jboss.byteman.rule.grammar.ECATokenLexer
- STRING - Static variable in class org.jboss.byteman.rule.type.Type
- STRING_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- STRING_LITERAL - Static variable in class org.jboss.byteman.rule.grammar.sym
- StringLiteral - Class in org.jboss.byteman.rule.expression
-
an expression which identifies a character string.
- StringLiteral(Rule, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.StringLiteral
- StringPlusExpression - Class in org.jboss.byteman.rule.expression
-
A binary string concatenation operator expression
- StringPlusExpression(Rule, ParseNode, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.StringPlusExpression
- SUB - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - submit() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Facade to method
RuleConstructor.install()
. - submit(Instrumentor) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Facade to method
RuleConstructor.install(Instrumentor)
. - Submit - Class in org.jboss.byteman.agent.submit
-
A Java API that can be used to submit requests to a remote Byteman agent.
- Submit() - Constructor for class org.jboss.byteman.agent.submit.Submit
-
Create a client that will connect to a Byteman agent on the default host and port and writing output to System.out.
- Submit(String, int) - Constructor for class org.jboss.byteman.agent.submit.Submit
-
Create a client that will connect to a Byteman agent on the given host and port and writing output to System.out.
- Submit(String, int, PrintStream) - Constructor for class org.jboss.byteman.agent.submit.Submit
-
Create a client that will connect to a Byteman agent on the given host and port and writing output to System.out.
- submitRequest(String) - Method in class org.jboss.byteman.agent.submit.Submit
-
Submits the generic request string to the Byteman agent for processing.
- SuperIterator() - Constructor for class org.jboss.byteman.rule.expression.ThrowExpression.SuperIterator
- superName - Variable in class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
- swap() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates a SWAP instruction.
- swap(Type, Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to swap the top two stack values.
- switchClass(Class) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
- sym - Class in org.jboss.byteman.rule.grammar
-
CUP generated class containing symbol constants.
- sym() - Constructor for class org.jboss.byteman.rule.grammar.sym
- sym_name - Static variable in class org.jboss.byteman.rule.grammar.PrintableSymbol
- SYNCHRONIZE - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying a synchronize operation or the nth such operation if a count is supplied or all synchronize operations if ALL is specified.
- SYNCHRONIZE_COMPLETED - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying completion of a synchronize operation or the nth such operation if a count is supplied or all synchronize operations if ALL is specified.
- SynchronizeCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- SynchronizeCheckAdapter(ClassVisitor, TransformContext, int) - Constructor for class org.jboss.byteman.agent.adapter.SynchronizeCheckAdapter
- SynchronizeTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- SynchronizeTriggerAdapter(ClassVisitor, TransformContext, int, boolean) - Constructor for class org.jboss.byteman.agent.adapter.SynchronizeTriggerAdapter
- SYSPROP_MBEAN_SERVER - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
-
This is a system property whose value will determine which MBean Server the MBeans should be registered in.
- SYSPROPS_STRICT_MODE - Static variable in class org.jboss.byteman.agent.Transformer
-
system property which enables the restriction that only byteman specific system properties will be gettable/settable via a client using the LISTSYSPROPS and SETSYSPROPS commands.
T
- tableSwitch(int[], TableSwitchGenerator) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions for a switch statement.
- tableSwitch(int[], TableSwitchGenerator, boolean) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions for a switch statement.
- targetClass() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- targetLocation() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- targetMethod() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- tearDown() - Method in class org.jboss.byteman.contrib.bmunit.BMTestCase
- terminate() - Static method in class org.jboss.byteman.agent.TransformListener
- TERN_IF - Static variable in class org.jboss.byteman.rule.grammar.sym
- TERNARY - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- TernaryOperExpression - Class in org.jboss.byteman.rule.expression
-
ternary operators includes conditional evaluation operator 'cond ? if_expr : else_expr'
- TernaryOperExpression(Rule, int, Type, ParseNode, Expression, Expression, Expression) - Constructor for class org.jboss.byteman.rule.expression.TernaryOperExpression
- TERNOP - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- TestScript - Class in org.jboss.byteman.check
-
utility which parses and typechecks all rules in a rule script.
- TestScript() - Constructor for class org.jboss.byteman.check.TestScript
- ThreadHistoryMonitorHelper - Class in org.jboss.byteman.sample.helper
-
Helper class used by ThreadHistoryMonitorHelper script to trace thread operations.
- ThreadHistoryMonitorHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- ThreadHistoryMonitorHelperMXBean - Interface in org.jboss.byteman.sample.helper
-
An MXBean interface for the thread event history monitoring.
- ThreadMonitored - Class in org.jboss.byteman.sample.helper
-
This is a DTO object which contains an identity of a real
Thread
object. - ThreadMonitorEvent - Class in org.jboss.byteman.sample.helper
- ThreadMonitorEvent(ThreadMonitored, ThreadMonitorEventType, Collection<String>, String) - Constructor for class org.jboss.byteman.sample.helper.ThreadMonitorEvent
- ThreadMonitorEventType - Enum in org.jboss.byteman.sample.helper
- ThreadMonitorHelper - Class in org.jboss.byteman.sample.helper
-
Helper class used by ThreadMonitorHelper script to trace thread operations
- ThreadMonitorHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.ThreadMonitorHelper
- THROW - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying throw of an exception of the nth such throw if a count is supplied or all throws if ALL is specified script syntax : 'AT' 'THROW' [{typename}] [ {count} | 'ALL' ] n.b.
- THROW - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- THROW - Static variable in class org.jboss.byteman.rule.grammar.sym
- THROW_EXCEPTION_TYPE - Static variable in class org.jboss.byteman.agent.adapter.cfg.CFG
-
Type identifying throw exceptions thrown by runtime
- THROW_EXCEPTION_TYPE_NAME - Static variable in class org.jboss.byteman.agent.adapter.cfg.CFG
-
name of type identifying throw exceptions thrown by runtime
- THROWABLE_VALUE_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $@ variable which is bound to the current throwable on stack in AT THROW rule
- ThrowCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- ThrowCheckAdapter(ClassVisitor, TransformContext, String, int) - Constructor for class org.jboss.byteman.agent.adapter.ThrowCheckAdapter
- throwException() - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instruction to throw an exception.
- throwException(Type, String) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to create and throw an exception.
- ThrowException - Exception in org.jboss.byteman.rule.exception
-
Specializaton of ExecuteException used to wrap a client exception generated via a rule THROW action.
- ThrowException(Throwable) - Constructor for exception org.jboss.byteman.rule.exception.ThrowException
- ThrowExpression - Class in org.jboss.byteman.rule.expression
-
Expression which implements a throw from a rule action but only where the thrown exception is declared by the trigger method or is a runtime exception which does nto need ot be declared
- ThrowExpression(Rule, ParseNode, List<Expression>) - Constructor for class org.jboss.byteman.rule.expression.ThrowExpression
- ThrowExpression.ClassIterator - Class in org.jboss.byteman.rule.expression
- ThrowExpression.InterfaceIterator - Class in org.jboss.byteman.rule.expression
- ThrowExpression.SuperIterator - Class in org.jboss.byteman.rule.expression
- ThrowTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of some given class
- ThrowTriggerAdapter(ClassVisitor, TransformContext, String, int) - Constructor for class org.jboss.byteman.agent.adapter.ThrowTriggerAdapter
- Timer - Class in org.jboss.byteman.synchronization
-
Class used to capture elapsed time.
- Timer() - Constructor for class org.jboss.byteman.synchronization.Timer
- TOFU - Static variable in class org.jboss.byteman.agent.TransformContext
- token - Variable in class org.jboss.byteman.rule.expression.Expression
- toString() - Method in class org.jboss.byteman.agent.adapter.cfg.BBlock
-
return a string representation of this block
- toString() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
generate a string representation of the CFG
- toString() - Method in class org.jboss.byteman.agent.adapter.cfg.CodeLocation
- toString() - Method in class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
- toString() - Method in class org.jboss.byteman.agent.RuleScript
- toString() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- toString() - Method in class org.jboss.byteman.rule.grammar.PrintableSymbol
- toString() - Method in class org.jboss.byteman.rule.helper.Helper
-
return a unique name for the trigger point associated with this rule.
- toString() - Method in class org.jboss.byteman.rule.Rule
-
generate a string representation of the rule
- toString() - Method in class org.jboss.byteman.rule.RuleElement
- toString() - Method in class org.jboss.byteman.rule.type.Type
- toString() - Method in class org.jboss.byteman.sample.helper.ThreadMonitored
- trace(Object, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
punts to static call Helper.dotrace(identifier, message).
- trace(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
equivalent to calling trace("out", message).
- trace(String, Object[]) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Receiving side of the remote communication between the test code and the BytemanTestHelper.
- trace(String, Object[]) - Method in interface org.jboss.byteman.contrib.dtest.RemoteInterface
- traceAllStacks() - Method in class org.jboss.byteman.rule.helper.Helper
-
print trace of all threads' stacks to System.out by calling traceAllStacks(null)
- traceAllStacks(int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print trace of all threads' stacks to System.out by calling traceAllStacks(null, maxFrames)
- traceAllStacks(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print trace of all threads' stacks to System.out by calling traceAllStacks(prefix, "out")
- traceAllStacks(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print trace of all threads' stacks to System.out by calling traceAllStacks(prefix, "out", maxFrames)
- traceAllStacks(String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print trace of all threads' stacks to the trace stream identified by key by calling traceAllStacks(prefix, key, 0)
- traceAllStacks(String, Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print trace of all threads' stacks to the trace stream identified by key
- traceClose(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to close the trace output stream identified by identifier flushing any pending output.
- traceCreate(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace creation of the supplied thread to System.out this should only be triggered from the constructor for class java.lang.Thread"
- traceCreate(Thread, int) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
trace creation of the supplied thread to System.out this should only be triggered from the
Thread
constructor - traceCreate(Thread, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace creation of the supplied thread to the trace stream identified by key
- traceExit(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
trace exit of the supplied thread to System.out this should only be triggered from the call to
Thread
exit method - traceExit(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace exit of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.exit"
- traceExit(Thread, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace exit of the supplied thread to the trace stream identified by key this should only be triggered from the call to java.lang.Thread.exit"
- traceInterrupt(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
trace interrupted of the supplied thread to System.out this should only be triggered from the call to
Thread.interrupt()
- traceln(Object, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
punts to static call dotraceln(identifier, message).
- traceln(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
equivalent to calling traceln("out", message).
- traceOpen(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to open a trace output stream identified by identifier to a file located in the current working directory using a unique generated name.
- traceOpen(Object, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
builtin to open a trace output stream which is redirected to a file in the current directory if specified.
- traceRun(Runnable) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
trace run of the supplied Runnable to System.out this should only be triggered from a call to an implementation of
Runnable.run()
- traceRun(Runnable) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace run of the supplied Runnable to System.out this should only be triggered from a call to an implementation of java.lang.Runnable.run"
- traceRun(Runnable, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace start of the supplied thread to the trace stream identified by key this should only be triggered from the call an implementation of java.lang.Runnable.run"
- traceStack() - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to System.out by calling traceStack(null)
- traceStack(int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to System.out by calling traceStack(null, maxFrames)
- traceStack(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to System.out by calling traceStack(prefix, "out")
- traceStack(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to System.out by calling traceStack(prefix, "out", maxFrames)
- traceStack(String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to the trace stream identified by key by calling traceStack(prefix, key, 0)
- traceStack(String, Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to the trace stream identified by key
- traceStackBetween(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetween(from, to, null)
- traceStackBetween(String, String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetween(from, to, includeClass, false)
- traceStackBetween(String, String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetween(from, to, includeClass, includePackage, null)
- traceStackBetween(String, String, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out preceded by prefix by calling traceStackBetween(from, to, includeClass, includePackage, prefix, "out") should be printed.
- traceStackBetween(String, String, boolean, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end preceded by prefix by calling traceStackBetween(from, to, false, includeClass, includePackage, prefix, key)
- traceStackBetween(String, String, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetween(from, to, includeClass, false, prefix)
- traceStackBetween(String, String, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end preceded by prefix by calling traceStackBetween(from, to, includeClass, false, prefix, key)
- traceStackBetween(String, String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out preceded by prefix by calling traceStackBetween(from, to, prefix, "out")
- traceStackBetween(String, String, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end preceded by prefix by calling traceStackBetween(from, to, false, prefix, key)
- traceStackBetweenMatches(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetweenMatches(from, to, null)
- traceStackBetweenMatches(String, String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetweenMatches(from, to, includeClass, false)
- traceStackBetweenMatches(String, String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetweenMatches(from, to, includeClass, includePackage, null)
- traceStackBetweenMatches(String, String, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out preceded by prefix by calling traceStackBetweenMatches(from, to, true, includeClass, includePackage, prefix, "out");
- traceStackBetweenMatches(String, String, boolean, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end preceded by prefix by calling traceStackRange(from, to, true, includeClass, includePackage, prefix, key)
- traceStackBetweenMatches(String, String, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out by calling traceStackBetweenMatches(from, to, includeClass, false, prefix)
- traceStackBetweenMatches(String, String, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end preceded by prefix by calling traceStackBetween(from, to, includeClass, false, prefix, key)
- traceStackBetweenMatches(String, String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out preceded by prefix by calling traceStackBetweenMatches(from, to, prefix, "out")
- traceStackBetweenMatches(String, String, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to System.out preceded by prefix by calling traceStackBetweenMatches(from, to, false, prefix, key)
- traceStackMatching(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out by calling traceStackMatching(pattern, null)
- traceStackMatching(String, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out by calling traceStackMatching(pattern, includeClass, false)
- traceStackMatching(String, boolean, boolean) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out by calling traceStackMatching(pattern, includeClass, includePackage, null)
- traceStackMatching(String, boolean, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out preceded by prefix by calling traceStackMatching(pattern, includeClass, , includePackage, prefix, "out")
- traceStackMatching(String, boolean, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to the trace stream identified by key preceded by prefix.
- traceStackMatching(String, boolean, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out preceded by prefix by calling traceStackMatching(pattern, includeClass, false, prefix)
- traceStackMatching(String, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out preceded by prefix by calling traceStackMatching(pattern, includeClass, false, prefix, key)
- traceStackMatching(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out preceded by prefix by calling traceStackMatching(pattern, prefix, "out")
- traceStackMatching(String, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames which match pattern to System.out preceded by prefix by calling
- traceStackRange(String, String, boolean, boolean, boolean, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print all stack frames between the frames which match start and end to the trace stream identified by key preceded by prefix.
- traceStart(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
trace start of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.start"
- traceStart(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace start of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.start"
- traceStart(Thread, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
-
trace start of the supplied thread to the trace stream identified by key this should only be triggered from the call to java.lang.Thread.start"
- traceThreadStack(String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace of a specific thread to System.out by calling traceThreadStack(threadName, null)
- traceThreadStack(String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace of a specific thread to System.out by calling traceThreadStack(threadName, null, maxFrames)
- traceThreadStack(String, String) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace of a specific thread to System.out by calling traceThreadStack(threadName, prefix, "out")
- traceThreadStack(String, String, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace of a specific thread of a specific thread to System.out by calling traceThreadStack(threadName, prefix, "out", maxFrames)
- traceThreadStack(String, String, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace of a specific thread to the trace stream identified by key by calling traceThreadStack(threadName, prefix, key, 0)
- traceThreadStack(String, String, Object, int) - Method in class org.jboss.byteman.rule.helper.Helper
-
print a stack trace to the trace stream identified by key
- transform(byte[]) - Method in class org.jboss.byteman.agent.TransformContext
- transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class org.jboss.byteman.agent.Transformer
-
The implementation of this method may transform the supplied class file and return a new replacement class file.
- transform(RuleScript, ClassLoader, String, byte[]) - Method in class org.jboss.byteman.agent.Transformer
-
The routine which actually does the real bytecode transformation.
- Transform - Class in org.jboss.byteman.agent
-
record of a specific bytecode transformation applied by the byteman agent for a given trigger class
- Transform(ClassLoader, String, String, Rule, Throwable) - Constructor for class org.jboss.byteman.agent.Transform
- Transform(ClassLoader, String, Rule) - Constructor for class org.jboss.byteman.agent.Transform
- TRANSFORM_ALL - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set to true in order to enable transform of java.lang classes
- TRANSFORM_ALL_COMPATIBILITY - Static variable in class org.jboss.byteman.agent.Transformer
-
retained for compatibility
- transformContext - Variable in class org.jboss.byteman.agent.adapter.RuleAdapter
- transformContext - Variable in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- TransformContext - Class in org.jboss.byteman.agent
-
Class used to localise the context information employed when creating a rule from a rule script and using it to transform a method
- TransformContext(Transformer, RuleScript, String, ClassLoader, HelperManager, AccessEnabler) - Constructor for class org.jboss.byteman.agent.TransformContext
- Transformer - Class in org.jboss.byteman.agent
-
byte code transformer used to introduce byteman events into JBoss code
- Transformer(Instrumentation, ModuleSystem, List<String>, List<String>, boolean) - Constructor for class org.jboss.byteman.agent.Transformer
-
constructor allowing this transformer to be provided with access to the JVM's instrumentation implementation
- TransformListener - Class in org.jboss.byteman.agent
-
a socket based listener class which reads scripts from stdin and installs them in the current runtime
- TransformSet - Class in org.jboss.byteman.agent
-
A TransformSet groups together a set of Transform records which share a common classloader and trigger class name.
- TransformSet(ClassLoader, String) - Constructor for class org.jboss.byteman.agent.TransformSet
- TRIGGER_CLASS_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $CLASS variable which is bound to a String identifying the package-qualified trigger class
- TRIGGER_METHOD_IDX - Static variable in class org.jboss.byteman.rule.expression.DollarExpression
-
index of $METHOD variable which is bound to a String identifying the trigger method and signature
- triggerDetails() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return an iterator ovver all known trigger details
- TriggerDetails - Class in org.jboss.byteman.agent.adapter.cfg
-
auxiliary used by CFG to store details of a specific trigger insertion point
- TriggerDetails(CFG, Label) - Constructor for class org.jboss.byteman.agent.adapter.cfg.TriggerDetails
-
construct a new trigger details instance
- triggerEnd(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test if a label marks the end of a trigger block
- triggerEndDetails(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the list of details of try catch blocks which end at this label
- triggerIndex(StackTraceElement[]) - Method in class org.jboss.byteman.rule.helper.Helper
-
return the index of the frame in stack for the trigger method below which the rule system was entered or -1 if it cannot be found
- triggerStart(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test if a label marks the start of a trigger block
- triggerStartDetails(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return details of any trigger block which starts at this label
- TryCatchDetails - Class in org.jboss.byteman.agent.adapter.cfg
-
auxiliary used by CFG to store details of a specific try catch block
- TryCatchDetails(CFG, Label, Label, Label, String, boolean) - Constructor for class org.jboss.byteman.agent.adapter.cfg.TryCatchDetails
-
construct a try catch details instance
- tryCatchEnd(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test if a label marks the end of a try catch block
- tryCatchEndDetails(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the list of details of try catch blocks which end at this label
- tryCatchHandlerStart(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test if a label marks the start of the handler for a try catch block
- tryCatchHandlerStartDetails(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the list of details of try catch blocks whose handler starts at this label
- tryCatchStart(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
test if a label marks the start of a try catch block
- tryCatchStartDetails(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
return the list of details of try catch blocks which start at this label
- TWIDDLE - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- TWIDDLE - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- TWIDDLE - Static variable in class org.jboss.byteman.rule.grammar.sym
- TwiddleExpression - Class in org.jboss.byteman.rule.expression
- TwiddleExpression(Rule, ParseNode, Expression) - Constructor for class org.jboss.byteman.rule.expression.TwiddleExpression
- type - Variable in class org.jboss.byteman.rule.expression.Expression
- type(String) - Static method in enum org.jboss.byteman.agent.LocationType
- Type - Class in org.jboss.byteman.rule.type
-
models the type of a rule binding or expression
- Type(String) - Constructor for class org.jboss.byteman.rule.type.Type
-
create a type with a given name and no associated class
- Type(String, Class) - Constructor for class org.jboss.byteman.rule.type.Type
-
create a type with a given name and optionally an associated class
- Type(String, Class, int, int) - Constructor for class org.jboss.byteman.rule.type.Type
- Type(String, Class, int, int, Type) - Constructor for class org.jboss.byteman.rule.type.Type
- typeCheck() - Method in class org.jboss.byteman.rule.Rule
-
type check this rule
- typeCheck(Type) - Method in class org.jboss.byteman.rule.Action
- typeCheck(Type) - Method in class org.jboss.byteman.rule.binding.Binding
- typeCheck(Type) - Method in class org.jboss.byteman.rule.Condition
- typeCheck(Type) - Method in class org.jboss.byteman.rule.Event
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ArithmeticExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ArrayInitExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.AssignExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.BitExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.BooleanLiteral
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ClassLiteralExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ComparisonExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ConditionalEvalExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.Expression
-
ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.LogicalExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.MinusExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.NewExpression
-
ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.NotExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.NullLiteral
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.NumericLiteral
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.PlusExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ReturnExpression
-
ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ShiftExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.StringLiteral
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.StringPlusExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
-
ensure that all type references in the expression and its component expressions can be resolved, that the type of the expression is well-defined and that it is compatible with the type expected in the context in which it occurs.
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.TwiddleExpression
- typeCheck(Type) - Method in class org.jboss.byteman.rule.expression.Variable
- typeCheck(Type) - Method in class org.jboss.byteman.rule.RuleElement
- typeCheckAny() - Method in class org.jboss.byteman.rule.expression.Variable
- typeCheckAny(boolean) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- typeCheckAssign(Type) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- typeCheckAssign(Type) - Method in class org.jboss.byteman.rule.expression.AssignableExpression
-
typecheck the expression as an lvalue of an assignment operation
- typeCheckAssign(Type) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- typeCheckAssign(Type) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- typeCheckAssign(Type) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- typeCheckAssign(Type) - Method in class org.jboss.byteman.rule.expression.Variable
- TypeException - Exception in org.jboss.byteman.rule.exception
-
used to notify an exception during rule type checking
- TypeException(String) - Constructor for exception org.jboss.byteman.rule.exception.TypeException
- TypeException(String, Throwable) - Constructor for exception org.jboss.byteman.rule.exception.TypeException
- TypeGroup - Class in org.jboss.byteman.rule.type
-
the collection of types associated with an ECA rule
- TypeGroup(ClassLoader) - Constructor for class org.jboss.byteman.rule.type.TypeGroup
-
create a type group for a rule containing all the basic types
- TypeHelper - Class in org.jboss.byteman.rule.type
-
Helpoer class providing static methods for manipulating type and class names, field and method descriptor names etc
- TypeHelper() - Constructor for class org.jboss.byteman.rule.type.TypeHelper
- typeTable - Variable in class org.jboss.byteman.rule.type.TypeGroup
- TypeWarningException - Exception in org.jboss.byteman.rule.exception
-
A sepcialization of TypeException which can be thrown during type checking to indicate that a rule has failed to type check for a legitimate reason.
- TypeWarningException(String) - Constructor for exception org.jboss.byteman.rule.exception.TypeWarningException
- TypeWarningException(String, Throwable) - Constructor for exception org.jboss.byteman.rule.exception.TypeWarningException
U
- UMINUS - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- UMINUS - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- UMINUS - Static variable in class org.jboss.byteman.rule.grammar.sym
- UNARY - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- UnaryOperExpression - Class in org.jboss.byteman.rule.expression
-
unary operators includes boolean NOT and arithmetic TWIDDLE n.b.
- UnaryOperExpression(Rule, int, Type, ParseNode, Expression) - Constructor for class org.jboss.byteman.rule.expression.UnaryOperExpression
- unbox(Type) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Generates the instructions to unbox the top stack value.
- UNDEFINED - Static variable in class org.jboss.byteman.rule.type.Type
- undefineDefaultInstrumentor() - Static method in class org.jboss.byteman.contrib.dtest.RuleConstructor
-
Undefinining value of default instrumentor.
- uninstalled() - Method in class org.jboss.byteman.rule.Rule
-
method called when the rule has been uninstalled after previously being successfully injected into a class, type checked and compiled.
- uninstalled(Rule) - Method in class org.jboss.byteman.agent.HelperManager
-
perform install processing for a rule
- uninstalled(Rule) - Static method in class org.jboss.byteman.rule.helper.Helper
- uninstalled(Rule, Class<?>) - Method in class org.jboss.byteman.agent.HelperManager
- unlink(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
delete a link from the default LinkMap by calling unlink("default", name)
- unlink(Object, Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
atomically remove any link from name returning the Object it is currently linked to or null if no link currently exists in the map
- unloadScriptFile(Class<?>, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
loads a script from the load directory using the name of a unit test as the root name for the script file and ".btm" or, failing that, ".txt" for the file extension
- unloadScriptText(Class<?>, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
-
unloads a script previously supplied as a text String
- UNOP - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- unrecovered_syntax_error(Symbol) - Method in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- updateConfiguration(String) - Method in class org.jboss.byteman.agent.Transformer
-
notify a change to an org.jboss.byteman.* system property so that the agent can choose to update its configuration.
- URSH - Static variable in class org.jboss.byteman.rule.expression.OperExpression
- URSH - Static variable in class org.jboss.byteman.rule.grammar.ParseNode
- URSH - Static variable in class org.jboss.byteman.rule.grammar.sym
- usage() - Static method in class org.jboss.byteman.check.TestScript
- USHR - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method. - usingHelper(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- usingHelper(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
V
- value() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMScript
- valueOf(String) - Static method in enum org.jboss.byteman.agent.LocationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.byteman.sample.helper.ThreadMonitorEventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.byteman.synchronization.Joiner.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jboss.byteman.agent.LocationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.byteman.sample.helper.ThreadMonitorEventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.byteman.synchronization.Joiner.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Variable - Class in org.jboss.byteman.rule.expression
-
an expression which identifies a variable occurring either as an LVALUE on the LHS of an event binding in the rule's event or as an RVALUE mentioned in the RHS of an event binding or in thre rule's conditon or action.
- Variable(Rule, Type, ParseNode) - Constructor for class org.jboss.byteman.rule.expression.Variable
- Variable(Rule, Type, ParseNode, String) - Constructor for class org.jboss.byteman.rule.expression.Variable
- VariableAccessCheckAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to check that the target method for a rule exists in a class
- VariableAccessCheckAdapter(ClassVisitor, TransformContext, String, int, int) - Constructor for class org.jboss.byteman.agent.adapter.VariableAccessCheckAdapter
- VariableAccessTriggerAdapter - Class in org.jboss.byteman.agent.adapter
-
asm Adapter class used to add a rule event trigger call to a method of som egiven class
- VariableAccessTriggerAdapter(ClassVisitor, TransformContext, String, int, int, boolean) - Constructor for class org.jboss.byteman.agent.adapter.VariableAccessTriggerAdapter
- verbose() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
verbose configures the Byteman verbose setting which controls printing of trace related to the operation of Byteman
- verbose(String) - Static method in class org.jboss.byteman.rule.helper.Helper
-
punts to static call dotraceln("vrb", msg) to print msg to the "vrb" trace stream when the verbose log level is enabled
- VERBOSE - Static variable in class org.jboss.byteman.agent.Transformer
-
system property set (to any value) in order to switch on dumping of generated bytecode to .class files
- VERBOSE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
this is only provided for backward compatibility in case some app was using this constant string to configure the required property.
- verboseTraceException(Throwable) - Static method in class org.jboss.byteman.rule.helper.Helper
-
Print the stack trace for th to System.out when the verbose log level is enabled
- VERIFY_TRANSFORMED_BYTES - Static variable in class org.jboss.byteman.agent.Transformer
-
system property which enables the restriction that only byteman specific system properties will be gettable/settable via a client using the LISTSYSPROPS and SETSYSPROPS commands.
- visit(int, int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerAdapter
- visit(int, int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitAnnotation(String, boolean) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitAttribute(Attribute) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitCode() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitEnd() - Method in class org.jboss.byteman.agent.adapter.BMLocalScopeMethodAdapter
-
once we have seen all the opcodes we can push the stored method tree through the next visitor in line
- visitEnd() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
- visitEnd() - Method in class org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
- visitEnd() - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitEnd() - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitField(int, String, String, String, Object) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitFieldInsn(int, String, String, String) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitFrame(int, int, Object[], int, Object[]) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
- visitIincInsn(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitInnerClass(String, String, String, int) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitInsn(int) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitIntInsn(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitJumpInsn(int, Label) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitLabel(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
notify the CFG that a label has been visited by the method visitor and hence its position will now be resolved
- visitLabel(Label) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitLdcInsn(Object) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitLocalScopeEnd(String, String, String, int, int) - Method in interface org.jboss.byteman.agent.adapter.LocalScopeMethodVisitor
- visitLocalScopeStart(String, String, String, int, int) - Method in interface org.jboss.byteman.agent.adapter.LocalScopeMethodVisitor
- visitLocalVariable(String, String, String, Label, Label, int) - Method in class org.jboss.byteman.agent.adapter.RuleMethodAdapter
- visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitMaxs() - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
this can be called when the code generator call visiMaxs but it does nothing just now
- visitMaxs(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
ensure we allow enough room for any extra locals on the stack
- visitMaxs(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.BMJSRInliner
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.BMLocalScopeAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.EntryCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.EntryTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.ExceptionExitCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.ExceptionExitTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.ExitCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.ExitTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.FieldAccessCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.FieldAccessTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.IndexParamAccessCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.IndexParamAccessTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.InvokeCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.InvokeTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.LineCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.LineTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.SynchronizeCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.SynchronizeTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.ThrowCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.ThrowTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.VariableAccessCheckAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.adapter.VariableAccessTriggerAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitMethodInsn(int, String, String, String, boolean) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitMultiANewArrayInsn(String, int) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitOuterClass(String, String, String) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitSource(String, String) - Method in class org.jboss.byteman.agent.check.ClassStructureAdapter
- visitTableSwitchInsn(int, int, Label, Label[]) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitTriggerEnd(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
notify the CFG that a label which represents the end of a trigger injection sequence has just been visited by the method visitor.
- visitTriggerEnd(Label) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitTriggerStart(Label) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
notify the CFG that a label which represents the start of a trigger injection sequence has just been visited by the method visitor.
- visitTriggerStart(Label) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitTryCatchBlock(Label, Label, Label, String) - Method in class org.jboss.byteman.agent.adapter.cfg.CFG
-
notify the CFG of the location of a try catch block.
- visitTryCatchBlock(Label, Label, Label, String) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitTypeInsn(int, String) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- visitVarInsn(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
override this so we can see track which local var slots are in use and avoid overwriting them
- visitVarInsn(int, int) - Method in class org.jboss.byteman.agent.adapter.RuleTriggerMethodAdapter
- VMInfo - Class in org.jboss.byteman.agent.install
-
Auxiliary class used by Install to provide clients with ids and display names of attachable JVMs.
- VMInfo(String, String) - Constructor for class org.jboss.byteman.agent.install.VMInfo
- VOID - Static variable in class org.jboss.byteman.rule.type.Type
W
- Waiter - Class in org.jboss.byteman.synchronization
-
class used to manage rule wait operations
- Waiter(Object) - Constructor for class org.jboss.byteman.synchronization.Waiter
- Waiter(Object, boolean, boolean) - Constructor for class org.jboss.byteman.synchronization.Waiter
- waitFor(long) - Method in class org.jboss.byteman.synchronization.Waiter
- waitFor(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
wait for another thread to signal an event with no timeout.
- waitFor(Object, long) - Method in class org.jboss.byteman.rule.helper.Helper
-
wait for another thread to signal an event with a specific timeout or no timeout if zero is supplied as the second argument.
- waiting() - Method in class org.jboss.byteman.synchronization.Waiter
- waiting(Object) - Method in class org.jboss.byteman.rule.helper.Helper
-
test if there are threads waiting for an event identified by the supplied object to be signalled
- warn(String, String, String) - Method in class org.jboss.byteman.agent.TransformContext
-
called by a check adapter to warn that a transform was not possible for a potential match target.
- warnAndContinue(ClassLoader, String[], Exception, String) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- warnAndContinue(ClassLoader, String[], String) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- warnAndFallback(ClassLoader, String) - Method in class org.jboss.byteman.modules.jbossmodules.JBossModulesSystem
- when(boolean) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- when(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- whenFalse() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- whenTrue() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- WRITE - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying a field write operation or the nth such field write if a count is supplied or all field writes if ALL is specified.
- WRITE_COMPLETED - org.jboss.byteman.agent.LocationType
-
specifies a location for trigger insertion by identifying a field write operation or the nth such field write if a count is supplied or all field writes if ALL is specified.
- writeAllEventsToFile(String) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
Write all events to the file given by path
- writeAllEventsToFile(String) - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Write a report of all events to the given path.
- writeAllEventsToFile(String, int) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
-
Write all events to the file given by path, repeating sampleCount times at 5 second intervals.
- writeEventsToFile(String, String) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
- writeEventsToFile(String, String) - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
-
Write a report of all events of the indicated type to the given path.
- writeTo(PrintWriter) - Method in class org.jboss.byteman.agent.RuleScript
- writeTo(PrintWriter) - Method in class org.jboss.byteman.agent.Transform
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.Action
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.binding.Binding
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.Condition
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.Event
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.ArrayExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.ArrayInitExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.BooleanLiteral
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.ClassLiteralExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.DollarExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.Expression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.FieldExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.MethodExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.NewExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.NullLiteral
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.NumericLiteral
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.OperExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.ReturnExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.StaticExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.StringLiteral
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.ThrowExpression
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.expression.Variable
- writeTo(StringWriter) - Method in class org.jboss.byteman.rule.RuleElement
X
- XOR - Static variable in class org.jboss.byteman.agent.adapter.RuleGeneratorAdapter
-
Constant for the
math
method.
Y
- yybegin(int) - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yycharat(int) - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yyclose() - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- YYEOF - Static variable in class org.jboss.byteman.rule.grammar.ECATokenLexer
- YYINITIAL - Static variable in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yylength() - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yypushback(int) - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yyreset(Reader) - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yystate() - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
- yytext() - Method in class org.jboss.byteman.rule.grammar.ECATokenLexer
Z
_
- _action_table - Static variable in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- _production_table - Static variable in class org.jboss.byteman.rule.grammar.ECAGrammarParser
- _reduce_table - Static variable in class org.jboss.byteman.rule.grammar.ECAGrammarParser
All Classes All Packages