Skip to content

Commit ffcda65

Browse files
committed
er
1 parent a505332 commit ffcda65

4 files changed

Lines changed: 8 additions & 53 deletions

File tree

modules/packed/src/main/java/app/packed/assembly/sandbox/AssemblyClasspathFinder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
*/
5656
public interface AssemblyClasspathFinder extends AssemblyFinder {
5757

58+
@Override
5859
/**
5960
* Finds and instantiates an assembly by its fully qualified class name.
6061
*
@@ -74,6 +75,7 @@ public interface AssemblyClasspathFinder extends AssemblyFinder {
7475
*/
7576
Assembly findOne(String className);
7677

78+
@Override
7779
/**
7880
* Finds and instantiates an assembly by its fully qualified class name, returning
7981
* an empty optional if the class cannot be found.
@@ -99,6 +101,7 @@ public interface AssemblyClasspathFinder extends AssemblyFinder {
99101
*/
100102
Optional<Assembly> findOptional(String className);
101103

104+
@Override
102105
/**
103106
* Discovers and instantiates assemblies using the {@link ServiceLoader} mechanism.
104107
*
@@ -124,6 +127,7 @@ public interface AssemblyClasspathFinder extends AssemblyFinder {
124127
*/
125128
<T extends Assembly> Stream<T> serviceLoader(Class<T> assemblyType);
126129

130+
@Override
127131
/**
128132
* Returns a new finder that additionally searches the specified paths.
129133
*

modules/packed/src/main/java/app/packed/assembly/sandbox/AssemblyLinker.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

modules/packed/src/main/java/app/packed/assembly/sandbox/AssemblyModulepathFinder.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import java.lang.invoke.MethodHandles;
1919
import java.lang.module.ModuleDescriptor;
20-
import java.lang.module.ModuleReference;
2120
import java.nio.file.Path;
2221
import java.util.Map;
2322
import java.util.Objects;
@@ -77,6 +76,7 @@
7776
*/
7877
public interface AssemblyModulepathFinder extends AssemblyFinder {
7978

79+
@Override
8080
/**
8181
* Finds and instantiates an assembly by its fully qualified class name.
8282
*
@@ -100,6 +100,7 @@ public interface AssemblyModulepathFinder extends AssemblyFinder {
100100
*/
101101
Assembly findOne(String className);
102102

103+
@Override
103104
/**
104105
* Finds and instantiates an assembly by its fully qualified class name, returning
105106
* an empty optional if the class cannot be found.
@@ -256,6 +257,7 @@ public interface AssemblyModulepathFinder extends AssemblyFinder {
256257
*/
257258
ModuleLayer parentLayer();
258259

260+
@Override
259261
/**
260262
* Discovers and instantiates assemblies using the {@link ServiceLoader} mechanism.
261263
*
@@ -296,6 +298,7 @@ public interface AssemblyModulepathFinder extends AssemblyFinder {
296298
*/
297299
ModuleLayer layer();
298300

301+
@Override
299302
/**
300303
* Returns a new finder that will search the specified paths for modules.
301304
*

modules/packed/src/main/java/internal/app/packed/bean/scanning/IntrospectorOnVariable.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import static java.util.Objects.checkIndex;
1919
import static java.util.Objects.requireNonNull;
20-
import static sandbox.Debug.debug;
2120

2221
import java.lang.invoke.MethodType;
2322
import java.lang.reflect.Field;
@@ -179,7 +178,6 @@ public IntrospectorOnVariable bindContext(Class<? extends Context<?>> context) {
179178
public IntrospectorOnVariable bindInvocationArgument(int argumentIndex) {
180179
checkBeforeBind();
181180
if (operation.installedByExtension != bindingExtension) {
182-
debug(operation.bean.bean.beanClass + " " + operation.type);
183181
throw new UnsupportedOperationException("For binding " + variable + " InstalledBy:" + operation.installedByExtension +" Binding:" + bindingExtension
184182
);
185183
}

0 commit comments

Comments
 (0)