Browse Source

继续修改

research/11.0
Harrison 6 years ago
parent
commit
838954e6e1
  1. 2
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/NamingStrategy.java
  2. 2
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/agent/ByteBuddyAgent.java
  3. 2
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/description/type/TypeDefinition.java
  4. 2
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/Nexus.java
  5. 6
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/loading/ClassInjector.java
  6. 2
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java
  7. 2
      fine-byte-buddy/src/com/fr/third/net/bytebuddy/utility/OpenedClassReader.java

2
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 * The default package for defining types that are renamed to not be contained in the
* {@link NamingStrategy.SuffixingRandom#JAVA_PACKAGE} package. * {@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. * Indicates that types of the {@code java.*} package should not be prefixed.

2
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}. * 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} * {@inheritDoc}

2
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. * byte code without changing a class type's structure.
* </p> * </p>
*/ */
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. * Returns this type definition as a generic type.

2
fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/Nexus.java

@ -47,7 +47,7 @@ public class Nexus extends WeakReference<ClassLoader> {
/** /**
* A system property that allows to disable the use of the {@link Nexus} class which is normally injected into the system class loader. * 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. * An type-safe constant for a non-operational reference queue.

6
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. // the offset location and still set a value to it, despite it being hidden from the reflection API.
override = new ByteBuddy() override = new ByteBuddy()
.redefine(AccessibleObject.class) .redefine(AccessibleObject.class)
.name("net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName()) .name("com.fr.third.net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName())
.noNestMate() .noNestMate()
.visit(new MemberRemoval().stripInvokables(ElementMatchers.any())) .visit(new MemberRemoval().stripInvokables(ElementMatchers.any()))
.make() .make()
@ -1706,7 +1706,7 @@ ClassInjector {
/** /**
* If this property is set, Byte Buddy does not make use of any {@code Unsafe} class. * 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. * 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. // the offset location and still set a value to it, despite it being hidden from the reflection API.
override = new ByteBuddy() override = new ByteBuddy()
.redefine(AccessibleObject.class) .redefine(AccessibleObject.class)
.name("net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName()) .name("com.fr.third.net.bytebuddy.mirror." + AccessibleObject.class.getSimpleName())
.noNestMate() .noNestMate()
.visit(new MemberRemoval().stripInvokables(ElementMatchers.any())) .visit(new MemberRemoval().stripInvokables(ElementMatchers.any()))
.make() .make()

2
fine-byte-buddy/src/com/fr/third/net/bytebuddy/dynamic/scaffold/TypeWriter.java

@ -87,7 +87,7 @@ public interface TypeWriter<T> {
* If this property is not set, Byte Buddy does not dump any class files. This property is only read a single * 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. * 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. * Creates the dynamic type that is described by this type writer.

2
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. * 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. * {@code true} if Byte Buddy is executed in experimental mode.

Loading…
Cancel
Save