Skip to content

Commit

Permalink
[Java] Follow interface layout for AgentBuilder.Listener.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed May 23, 2017
1 parent 2ca247a commit 7f5bc05
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ private static synchronized void agent(final boolean shouldRedefine, final Instr

private static final AgentBuilder.Listener LISTENER = new AgentBuilder.Listener()
{
public void onDiscovery(
final String typeName,
final ClassLoader classLoader,
final JavaModule module,
final boolean loaded)
{
}

public void onTransformation(
final TypeDescription typeDescription,
final ClassLoader classLoader,
Expand Down Expand Up @@ -130,14 +138,6 @@ public void onComplete(
final boolean loaded)
{
}

public void onDiscovery(
final String typeName,
final ClassLoader classLoader,
final JavaModule module,
final boolean loaded)
{
}
};

public static synchronized void removeTransformer()
Expand Down

0 comments on commit 7f5bc05

Please sign in to comment.