Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Fields (0.22 sec)

  1. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Nonnull.java

    /**
     * The annotated element must not be null.
     * <p>
     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

    @PlexusTest
    @Deprecated
    public abstract class AbstractConflictResolverTest {
        // constants --------------------------------------------------------------
    
        private static final String GROUP_ID = "test";
    
        // fields -----------------------------------------------------------------
    
        protected Artifact a1;
    
        protected Artifact a2;
    
        protected Artifact b1;
    
        private final String roleHint;
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            try {
                return expressionEvaluator.evaluate(strValue) != null;
            } catch (ExpressionEvaluationException e) {
                // not important
                // will be reported during Mojo fields populate
            }
    
            // fallback - in case of error in expressionEvaluator
            return false;
        }
    
        @Override
        public final void validate(
                MavenSession mavenSession,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

     * container: this annotation is only effective on fields of the Mojo class itself, nested bean injection
     * requires Sisu or JSR330 annotations.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.FIELD, ElementType.METHOD})
    @Inherited
    public @interface Parameter {
        /**
         * name of the bean property used to get/set the field: by default, field name is used.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    /**
     * This annotation will mark your class as a Mojo (ie. goal in a Maven plugin).
     * The mojo can be annotated with {@code jakarta.inject.*} annotations.
     * The {@link Parameter} annotation can be added on fields to inject data
     * from the plugin configuration or from other components.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return snapshotArtifactRepository;
        }
    
        private void deepCopy(MavenProject project) {
            // disown the parent
    
            // copy fields
            file = project.file;
            basedir = project.basedir;
    
            // don't need a deep copy, they don't get modified or added/removed to/from - but make them unmodifiable to be
            // sure!
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields());
    
                    for (Field field : fields) {
                        Class<?> type = field.getType();
                        if (isQualifiedForInterpolation(field, type)) {
                            boolean isAccessible = field.isAccessible();
                            field.setAccessible(true);
                            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                InputSource v4src = loc != null ? loc.getSource() : null;
                if (v4src != null) {
                    try {
                        Field field = InputSource.class.getDeclaredField("modelId");
                        field.setAccessible(true);
                        field.set(v4src, ModelProblemUtils.toId(model));
                    } catch (Throwable t) {
                        // TODO: use a lazy source ?
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            ComponentLookupException e =
                    assertThrows(ComponentLookupException.class, () -> container.lookup(MySingletonBean2.class));
            assertTrue(e.getMessage().matches("[\\s\\S]*: Can not set .* field .* to [\\s\\S]*"));
    
            MySingletonBean bean = container.lookup(MySingletonBean.class);
            assertNotNull(bean);
            assertNotNull(bean.anotherBean);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocationTracker.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.model;
    
    public interface InputLocationTracker {
        InputLocation getLocation(Object field);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 932 bytes
    - Viewed (0)
Back to top