From 838954e6e1a47bc4f780663130a2eb376acc09dc Mon Sep 17 00:00:00 2001 From: Harrison Date: Mon, 3 Jun 2019 16:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/third/net/bytebuddy/NamingStrategy.java | 2 +- .../com/fr/third/net/bytebuddy/agent/ByteBuddyAgent.java | 2 +- .../net/bytebuddy/description/type/TypeDefinition.java | 2 +- .../src/com/fr/third/net/bytebuddy/dynamic/Nexus.java | 2 +- .../third/net/bytebuddy/dynamic/loading/ClassInjector.java | 6 +++--- .../fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java | 2 +- .../fr/third/net/bytebuddy/utility/OpenedClassReader.java | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/NamingStrategy.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/NamingStrategy.java index 1c7074de2..dd173799d 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/NamingStrategy.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/NamingStrategy.java @@ -108,7 +108,7 @@ public interface NamingStrategy { * The default package for defining types that are renamed to not be contained in the * {@link NamingStrategy.SuffixingRandom#JAVA_PACKAGE} package. */ - public static final String BYTE_BUDDY_RENAME_PACKAGE = "net.bytebuddy.renamed"; + public static final String BYTE_BUDDY_RENAME_PACKAGE = "com.fr.third.net.bytebuddy.renamed"; /** * Indicates that types of the {@code java.*} package should not be prefixed. diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/agent/ByteBuddyAgent.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/agent/ByteBuddyAgent.java index aa2f67c20..453543b26 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/agent/ByteBuddyAgent.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/agent/ByteBuddyAgent.java @@ -929,7 +929,7 @@ public class ByteBuddyAgent { /** * The property being read for locating {@code tools.jar}. */ - public static final String PROPERTY = "net.bytebuddy.agent.toolsjar"; + public static final String PROPERTY = "com.fr.third.net.bytebuddy.agent.toolsjar"; /** * {@inheritDoc} diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/description/type/TypeDefinition.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/description/type/TypeDefinition.java index 3574c67ba..4640f78af 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/description/type/TypeDefinition.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/description/type/TypeDefinition.java @@ -47,7 +47,7 @@ public interface TypeDefinition extends NamedElement, ModifierReviewable.ForType * byte code without changing a class type's structure. *

*/ - String RAW_TYPES_PROPERTY = "net.bytebuddy.raw"; + String RAW_TYPES_PROPERTY = "com.fr.third.net.bytebuddy.raw"; /** * Returns this type definition as a generic type. diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/Nexus.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/Nexus.java index 43a8b0fe5..d311c12aa 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/Nexus.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/Nexus.java @@ -47,7 +47,7 @@ public class Nexus extends WeakReference { /** * A system property that allows to disable the use of the {@link Nexus} class which is normally injected into the system class loader. */ - public static final String PROPERTY = "net.bytebuddy.nexus.disabled"; + public static final String PROPERTY = "com.fr.third.net.bytebuddy.nexus.disabled"; /** * An type-safe constant for a non-operational reference queue. diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/loading/ClassInjector.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/loading/ClassInjector.java index edb094d36..ca45566c7 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/loading/ClassInjector.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/loading/ClassInjector.java @@ -1037,7 +1037,7 @@ ClassInjector { // the offset location and still set a value to it, despite it being hidden from the reflection API. override = new ByteBuddy() .redefine(AccessibleObject.class) - .name("net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName()) + .name("com.fr.third.net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName()) .noNestMate() .visit(new MemberRemoval().stripInvokables(ElementMatchers.any())) .make() @@ -1706,7 +1706,7 @@ ClassInjector { /** * If this property is set, Byte Buddy does not make use of any {@code Unsafe} class. */ - public static final String SAFE_PROPERTY = "net.bytebuddy.safe"; + public static final String SAFE_PROPERTY = "com.fr.third.net.bytebuddy.safe"; /** * The dispatcher to use. @@ -1895,7 +1895,7 @@ ClassInjector { // the offset location and still set a value to it, despite it being hidden from the reflection API. override = new ByteBuddy() .redefine(AccessibleObject.class) - .name("net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName()) + .name("com.fr.third.net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName()) .noNestMate() .visit(new MemberRemoval().stripInvokables(ElementMatchers.any())) .make() diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java index 9381b782b..ceb790a03 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java @@ -87,7 +87,7 @@ public interface TypeWriter { * If this property is not set, Byte Buddy does not dump any class files. This property is only read a single * time which is why it must be set on application start-up. */ - String DUMP_PROPERTY = "net.bytebuddy.dump"; + String DUMP_PROPERTY = "com.fr.third.net.bytebuddy.dump"; /** * Creates the dynamic type that is described by this type writer. diff --git a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/utility/OpenedClassReader.java b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/utility/OpenedClassReader.java index 4d8e7cc64..6eb656a14 100644 --- a/fine-byte-buddy/src/com/fr/third/net/bytebuddy/utility/OpenedClassReader.java +++ b/fine-byte-buddy/src/com/fr/third/net/bytebuddy/utility/OpenedClassReader.java @@ -29,7 +29,7 @@ public class OpenedClassReader { /** * Indicates that Byte Buddy should not validate the maximum supported class file version. */ - public static final String EXPERIMENTAL_PROPERTY = "net.bytebuddy.experimental"; + public static final String EXPERIMENTAL_PROPERTY = "com.fr.third.net.bytebuddy.experimental"; /** * {@code true} if Byte Buddy is executed in experimental mode.