The method ID is determined by native code.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ClassModel | |
| private final Method | |
| private static final ClassDesc | |
| private final boolean | |
| private static final Bytecode. | |
| private int | |
| private static final Bytecode. | |
| private static final Bytecode. | |
| private static final Bytecode. | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(CodeBuilder builder, CodeElement element)
Implements java. Transform an element by taking the appropriate actions on the builder. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | atEnd(CodeBuilder builder)
Overrides default java. Take any final action during transformation of a classfile entity. |
| private void | |
| private int | |
| private void | |
| private static int | |
| private static void | |
| private static void | |
| private static void | |
| private boolean |
| classModel | back to summary |
|---|---|
| private final ClassModel classModel | |
| method | back to summary |
|---|---|
| private final Method method | |
| METHOD_TRACER_CLASS | back to summary |
|---|---|
| private static final ClassDesc METHOD_TRACER_CLASS | |
| simplifiedInstrumentation | back to summary |
|---|---|
| private final boolean simplifiedInstrumentation | |
| TIMESTAMP_METHOD | back to summary |
|---|---|
| private static final Bytecode. | |
| timestampSlot | back to summary |
|---|---|
| private int timestampSlot | |
| TIMING_METHOD | back to summary |
|---|---|
| private static final Bytecode. | |
| TRACE_METHOD | back to summary |
|---|---|
| private static final Bytecode. | |
| TRACE_TIMING_METHOD | back to summary |
|---|---|
| private static final Bytecode. | |
| tryBlocks | back to summary |
|---|---|
| private final List<Transform. | |
| Transform | back to summary |
|---|---|
| pack-priv Transform(ClassModel classModel, CodeModel model, Method method) | |
| accept | back to summary |
|---|---|
| public void accept(CodeBuilder builder, CodeElement element) Implements java. Doc from java. Transform an element by taking the appropriate actions on the builder.
Used when transforming a classfile entity (class, method, field, method
body.) If no transformation is desired, the element can be presented to
This method is called by the Class-File API. Users should never call this method.
| |
| acceptConstructor | back to summary |
|---|---|
| private void acceptConstructor(CodeBuilder builder, CodeElement element, boolean isConstructorInvocation) | |
| acceptMethod | back to summary |
|---|---|
| private void acceptMethod(CodeBuilder builder, CodeElement element) | |
| acceptSimplifiedInstrumentation | back to summary |
|---|---|
| private void acceptSimplifiedInstrumentation(CodeBuilder builder, CodeElement element) | |
| addCatchHandler | back to summary |
|---|---|
| private void addCatchHandler(Transform. | |
| addTracing | back to summary |
|---|---|
| private void addTracing(CodeBuilder builder) | |
| atEnd | back to summary |
|---|---|
| public void atEnd(CodeBuilder builder) Overrides default java. Doc from java. Take any final action during transformation of a classfile entity. Called
after all elements of the class are presented to This method is called by the Class-File API. Users should never call this method.
| |
| beginTryBlock | back to summary |
|---|---|
| private void beginTryBlock(CodeBuilder builder) | |
| constructorInvocations | back to summary |
|---|---|
| private int constructorInvocations(List<CodeElement> elementList) | |
| endTryBlock | back to summary |
|---|---|
| private void endTryBlock(CodeBuilder builder) | |
| invokeTimestamp | back to summary |
|---|---|
| private static int invokeTimestamp(CodeBuilder builder) | |
| invokeTiming | back to summary |
|---|---|
| private static void invokeTiming(CodeBuilder builder, String suffix) | |
| invokeTrace | back to summary |
|---|---|
| private static void invokeTrace(CodeBuilder builder, String suffix) | |
| invokeTraceTiming | back to summary |
|---|---|
| private static void invokeTraceTiming(CodeBuilder builder, String suffix) | |
| isConstructorInvocation | back to summary |
|---|---|
| private boolean isConstructorInvocation(CodeElement element) | |
| Access | Constructor and Description |
|---|---|
| private |
| TryBlock | back to summary |
|---|---|
| private TryBlock() | |