From 9751cf4b4764ed46666d9e5900df9d33fced09f4 Mon Sep 17 00:00:00 2001 From: Rafael Winterhalter Date: Thu, 21 Apr 2016 10:31:23 +0200 Subject: [PATCH] Added missing documentation --- .../src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java | 2 +- .../net/bytebuddy/implementation/bind/annotation/Origin.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java b/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java index 2794358bcfc..43667199afa 100644 --- a/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java +++ b/byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java @@ -213,7 +213,7 @@ public interface AgentBuilder { *

* Matches a type being loaded in order to apply the supplied {@link net.bytebuddy.agent.builder.AgentBuilder.Transformer}s before loading this type. * If several matchers positively match a type only the latest registered matcher is considered for transformation. - *

+ *

*

* If this matcher is chained with additional subsequent matchers, this matcher is always executed first whereas the following matchers are * executed in the order of their execution. If any matcher indicates that a type is to be matched, none of the following matchers is still queried. diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/implementation/bind/annotation/Origin.java b/byte-buddy-dep/src/main/java/net/bytebuddy/implementation/bind/annotation/Origin.java index 2c76fbcceef..3a850fa5dd8 100644 --- a/byte-buddy-dep/src/main/java/net/bytebuddy/implementation/bind/annotation/Origin.java +++ b/byte-buddy-dep/src/main/java/net/bytebuddy/implementation/bind/annotation/Origin.java @@ -19,6 +19,7 @@ *

* The origin annotation provides some meta information about the source method that is bound to this method where * the binding is dependant of the parameter's type: + *

*
    *
  1. If the annotated parameter is of type {@link java.lang.reflect.Method}, {@link java.lang.reflect.Constructor} or * {@code java.lang.reflect.Executable}, the parameter is assigned a reference to the method or constructor it @@ -37,6 +38,7 @@ *
  2. If the annotated type is {@code java.lang.invoke.MethodType}, a description of the intercepted method's type * is injected. Method type descriptions are only supported for byte code versions starting from Java 7.
  3. *
+ *

* Any other parameter type will cause an {@link java.lang.IllegalStateException}. *

*