Skip to content

Commit

Permalink
Moved internal classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni0451 committed Jun 22, 2024
1 parent ef875ce commit 96bc8e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/lenni0451/reflect/proxy/ProxyBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import net.lenni0451.reflect.proxy.impl.Proxy;
import net.lenni0451.reflect.proxy.impl.ProxyMethod;
import net.lenni0451.reflect.proxy.impl.ProxyRuntime;
import net.lenni0451.reflect.proxy.internal.ProxyMethodBuilder;
import net.lenni0451.reflect.proxy.internal.ProxyUtils;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.lenni0451.reflect.proxy;
package net.lenni0451.reflect.proxy.internal;

import net.lenni0451.reflect.bytecode.builder.BytecodeBuilder;
import net.lenni0451.reflect.bytecode.builder.ClassBuilder;
Expand All @@ -19,7 +19,7 @@
* They are unique to every method and therefore need to be created at runtime.
*/
@ApiStatus.Internal
class ProxyMethodBuilder {
public class ProxyMethodBuilder {

private static final BytecodeBuilder BUILDER = BytecodeBuilder.get();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.lenni0451.reflect.proxy;
package net.lenni0451.reflect.proxy.internal;

import net.lenni0451.reflect.Methods;
import net.lenni0451.reflect.bytecode.BytecodeUtils;
Expand All @@ -19,7 +19,7 @@
* Utils for creating proxy classes.
*/
@ApiStatus.Internal
class ProxyUtils {
public class ProxyUtils {

public static void verifySuperClass(final Class<?> clazz) {
if (!Modifier.isPublic(clazz.getModifiers())) throw new IllegalArgumentException("The super class must be public");
Expand Down

0 comments on commit 96bc8e1

Please sign in to comment.