File tree Expand file tree Collapse file tree
modules/packed/src/main/java
app/packed/assembly/sandbox
internal/app/packed/bean/scanning Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 */
5656public 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 *
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717
1818import java .lang .invoke .MethodHandles ;
1919import java .lang .module .ModuleDescriptor ;
20- import java .lang .module .ModuleReference ;
2120import java .nio .file .Path ;
2221import java .util .Map ;
2322import java .util .Objects ;
7776 */
7877public 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 *
Original file line number Diff line number Diff line change 1717
1818import static java .util .Objects .checkIndex ;
1919import static java .util .Objects .requireNonNull ;
20- import static sandbox .Debug .debug ;
2120
2221import java .lang .invoke .MethodType ;
2322import 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 }
You can’t perform that action at this time.
0 commit comments