Skip to content

Commit

Permalink
Change parameter type of SkipIfPortableExtensionPresent from String t…
Browse files Browse the repository at this point in the history
…o Class.
  • Loading branch information
manovotn authored and Ladicek committed Jan 5, 2022
1 parent c508086 commit 4507fa8
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package jakarta.enterprise.inject.build.compatible.spi;

import jakarta.enterprise.inject.spi.Extension;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand All @@ -21,12 +23,10 @@
@Retention(RetentionPolicy.RUNTIME)
public @interface SkipIfPortableExtensionPresent {
/**
* Binary name of a portable extension class, as defined by <cite>The Java&trade; Language Specification</cite>;
* in other words, the class name as returned by {@link Class#getName()}.
* <p>
* Non-portable behavior occurs if given class exists but is not a portable extension.
* A class implementing {@link Extension} that is expected to mirror the functionality of the annotated
* build compatible extension.
*
* @return binary name of a portable extension class
* @return a portable extension class
*/
String value();
Class<? extends Extension> value();
}

0 comments on commit 4507fa8

Please sign in to comment.