Examples of addAnnotation()


Examples of cn.bran.japid.compiler.TranslateTemplateTask.addAnnotation()

    t.setInclude(new File(rootDir, DirUtil.JAPIDVIEWS_ROOT));
    t.clearImports();
    t.importStatic(JapidPlayAdapter.class);
    t.importStatic(Validation.class);
    t.importStatic(JavaExtensions.class);
    t.addAnnotation(NoEnhance.class);
    if (DirUtil.hasLayouts(root))
      t.addImport(DirUtil.JAPIDVIEWS_ROOT + "._layouts.*");
    if (DirUtil.hasJavaTags(root))
      t.addImport(DirUtil.JAPIDVIEWS_ROOT + "._javatags.*");
    if (DirUtil.hasTags(root))
View Full Code Here

Examples of com.affymetrix.genometryImpl.BioSeq.addAnnotation()

    String amino_acid = getAminoAcid(m2gSym);
    processCDS(children, genomic, m2gSym, mrna, protein_id, amino_acid);

        m2gSym.setID("");
        genomic.addAnnotation(m2gSym);
        mrna.addAnnotation(m2gSym);
    }

  private static String getAminoAcid(TypeContainerAnnot m2gSym){
    String residue = (String) m2gSym.getProperty("protein sequence");
View Full Code Here

Examples of com.caucho.config.gen.ApiClass.addAnnotation()

      return;

    // XXX: annotations in super classes?

    if (! type.isAnnotationPresent(TransactionAttribute.class)) {
      type.addAnnotation(XaAnnotation.create(TransactionAttributeType.REQUIRED));
    }

    javax.ejb.MessageDriven messageDriven
      = type.getAnnotation(javax.ejb.MessageDriven.class);
View Full Code Here

Examples of com.caucho.config.reflect.AnnotatedMethodImpl.addAnnotation()

   
    Method method = CandiUtil.getDummyPostConstruct();
   
    AnnotatedMethodImpl annMethod;
    annMethod = new AnnotatedMethodImpl(getBeanType(), null, method);
    annMethod.addAnnotation(new PostConstructLiteral());
   
    AspectGenerator<X> methodGen
      = getLifecycleAspectFactory().create(annMethod);
  
    if (methodGen != null) {
View Full Code Here

Examples of com.caucho.config.reflect.AnnotatedTypeImpl.addAnnotation()

          Object proxy = proxyFactory.createProxy((Class<?>) annotated.getBaseType());

          AnnotatedTypeImpl<?> annotatedType
          = new AnnotatedTypeImpl((AnnotatedType) annotated);

          annotatedType.addAnnotation(EnhancedLiteral.ANNOTATION);

          BeanBuilder<?> builder
          = _beanManager.createBeanFactory(annotatedType);

          /*
 
View Full Code Here

Examples of com.caucho.config.types.CustomBeanConfig.addAnnotation()

    throws ConfigException
  {
    CustomBeanConfig customBean = (CustomBeanConfig) bean;

    if (value instanceof Annotation) {
      customBean.addAnnotation((Annotation) value);
    }
    else {
      AnnotationConfig annConfig = (AnnotationConfig) value;
      customBean.addAnnotation(annConfig.replace());
    }
View Full Code Here

Examples of com.github.jmkgreen.morphia.mapping.MappedField.addAnnotation()

      for(MappedField mf : sourceMC.getMappedFields()){
        Map<Class<? extends Annotation>, Annotation> annMap = mf.getAnnotations();
        MappedField destMF = destMC.getMappedFieldByJavaField(mf.getJavaFieldName());
        if (destMF != null && annMap != null && annMap.size() > 0) {
          for(Entry e : annMap.entrySet())
            destMF.addAnnotation((Class)e.getKey(), (Annotation)e.getValue());
        }
      }

    }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.core.Annotation1.addAnnotation()

        for ( Var v : coalesceVars )
        {
            String sqlColName = request.genId(AliasBase) ;
            SqlColumn col = new SqlColumn(table, sqlColName) ;
            idScope.setAlias(v, col) ;
            annotation.addAnnotation(v+" as "+col) ;
            // TODO Value
        }
       
        // Aliases.
        // Not coalesce variables.
View Full Code Here

Examples of com.intellij.psi.PsiModifierList.addAnnotation()

    PsiModifierList methodParameterModifierList = methodParameter.getModifierList();
    if (null != methodParameterModifierList) {
      final Collection<String> annotationsToCopy = PsiAnnotationUtil.collectAnnotationsToCopy(psiField,
          LombokConstants.NON_NULL_PATTERN, LombokConstants.NULLABLE_PATTERN);
      for (String annotationFQN : annotationsToCopy) {
        methodParameterModifierList.addAnnotation(annotationFQN);
      }
    }

    return method;
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfWriter.addAnnotation()

        if (isMultiple(box.getElement())) {
            field.setFieldFlags(PdfFormField.FF_MULTISELECT);
        }
        */
       
        writer.addAnnotation(field);
    }
   
    private void createAppearance(
            RenderingContext c, ITextOutputDevice outputDevice,
            BlockBox box, PdfFormField field) {
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.