Examples of description()


Examples of aQute.bnd.annotation.metatype.Meta.AD.description()

      if (ad != null) {
        if (checkNull(ad.name()) != null)
          name = ad.name();

        description = checkNull(ad.description());
        if (checkNull(ad.deflt()) != null)
          ;
        deflt = ad.deflt();

        if (checkNull(ad.max()) != null)
View Full Code Here

Examples of aQute.bnd.annotation.metatype.Meta.OCD.description()

    String typeName = uncamel(shortName(spec.getName()));
    String typeDescription = null;

    OCD ocd = spec.getAnnotation(Meta.OCD.class);
    if (ocd != null) {
      typeDescription = ocd.description();
      typeName = ocd.name();
    }

    Method methods[] = spec.getMethods();
    int n = 0;
View Full Code Here

Examples of ariba.util.test.TestDestager.description()

            TestStager testLink = (TestStager)annotation;
            name = testLink.description();
        }
        else if (TestDestager.class.isAssignableFrom(annotation.annotationType())) {
            TestDestager testLink = (TestDestager)annotation;
            name = testLink.description();
        }
        return name;
    }

    public static Object getObjectToInvoke (AWRequestContext requestContext,
View Full Code Here

Examples of ariba.util.test.TestPageLink.description()

    static public String getDescription  (Annotation annotation)
    {
        String name = null;
        if (TestPageLink.class.isAssignableFrom(annotation.annotationType())) {
            TestPageLink testLink = (TestPageLink)annotation;
            name = testLink.description();
        }
        else if (TestStager.class.isAssignableFrom(annotation.annotationType())) {
            TestStager testLink = (TestStager)annotation;
            name = testLink.description();
        }
View Full Code Here

Examples of ariba.util.test.TestStager.description()

            TestPageLink testLink = (TestPageLink)annotation;
            name = testLink.description();
        }
        else if (TestStager.class.isAssignableFrom(annotation.annotationType())) {
            TestStager testLink = (TestStager)annotation;
            name = testLink.description();
        }
        else if (TestDestager.class.isAssignableFrom(annotation.annotationType())) {
            TestDestager testLink = (TestDestager)annotation;
            name = testLink.description();
        }
View Full Code Here

Examples of au.net.ocean.maven.plugin.annotation.Component.description()

            parameterDescriptor = new org.apache.maven.plugin.descriptor.Parameter();
            parameterDescriptor.setType(typeName);
            // component overrides parameter if both are present
            if (component != null) {
                getLogger().info("found @Component: (" + typeName + "):" + field.getName());
                parameterDescriptor.setDescription(component.description());
                String role = component.role().trim();
                if (role.length() == 0) {
                    role = typeName;
                }
                String roleHint = component.roleHint().trim();
View Full Code Here

Examples of au.net.ocean.maven.plugin.annotation.Mojo.description()

        if (mojo != null) {
            getLogger().info("found @Mojo in: " + clazz.getName());
            mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setLanguage("java");
            mojoDescriptor.setImplementation(clazz.getName());
            mojoDescriptor.setDescription(mojo.description().trim());
            mojoDescriptor.setInstantiationStrategy(mojo.instantiationStrategy().value);
            mojoDescriptor.setExecutionStrategy(mojo.executionStrategy().value);
            String configurator = clazz.getAnnotation(Mojo.class).configurator();
            if (configurator.trim().length() > 0) {
                mojoDescriptor.setComponentConfigurator(configurator.trim());
View Full Code Here

Examples of au.net.ocean.maven.plugin.annotation.Parameter.description()

                }
                parameterDescriptor.setRequirement(new Requirement(role, roleHint));
                parameterDescriptor.setName(field.getName());
            } else {
                getLogger().info("found @Parameter: (" + typeName + "):" + field.getName());
                parameterDescriptor.setDescription(parameter.description());
                String property = parameter.property().trim();
                parameterDescriptor.setName(property.length() > 0 ? property : field.getName());
                parameterDescriptor.setRequired(field.isAnnotationPresent(Required.class));
                parameterDescriptor.setEditable(!field.isAnnotationPresent(ReadOnly.class));
//                    DocletTag deprecationTag = field.getTagByName(DEPRECATED);
View Full Code Here

Examples of br.gov.frameworkdemoiselle.annotation.ManagedOperation.description()

            parameterDetails[i] = new ParameterDetail(parameterTypes[i], name, description);
          }

          // Com todas as informações, criamos nossa instância de MethodDetail e
          // acrescentamos na lista de todas as operações.
          MethodDetail detail = new MethodDetail(method, opAnnotation.description(), operationType, parameterDetails);
          operationMethods.put(method.getName(), detail);
        }
      }
    }
  }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.annotation.OperationParameter.description()

                break;
              }
            }

            String name = paramAnnotation != null ? paramAnnotation.name() : ("arg" + i);
            String description = paramAnnotation != null ? paramAnnotation.description() : null;

            parameterDetails[i] = new ParameterDetail(parameterTypes[i], name, description);
          }

          // Com todas as informações, criamos nossa instância de MethodDetail e
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.