Examples of AnnotationInfo

  • org.apache.myfaces.orchestra.annotation.AnnotationInfo
    Holds information extracted out of a single bean using its annotations.
  • org.codehaus.aspectwerkz.annotation.AnnotationInfo
    Holds the annotation proxy instance and the name of the annotation. @author Jonas Bon�r
  • org.eclipse.wst.sse.ui.internal.reconcile.validator.AnnotationInfo
    Holds info to create a TemporaryAnnotation. @since 1.0
  • org.glassfish.apf.AnnotationInfo
    Instances encapsulate all information necessary for an AnnotationHandler to process an annotation. In particular, instances of this class provide access to :

  • the Annotation instance
  • the ProcessingContext of the tool
  • the AnnotatedElement which is a reference to the annotation element (Type, Method...).

    @see java.lang.annotation.Annotation, java.lang.reflect.AnnotatedElement @author Jerome Dochez
  • org.jboss.reflect.spi.AnnotationInfo
    Annotation Info @author Bill Burke @author Adrian Brock
  • org.restlet.engine.resource.AnnotationInfo
    Descriptor for method annotations. @author Jerome Louvel

  • Examples of org.jboss.reflect.spi.AnnotationInfo

          {
             this.annotationsArray = annotations;
             annotationMap = new HashMap();
             for (int i = 0; i < annotations.length; i++)
             {
                AnnotationInfo type = annotations[i].getAnnotationType();
                annotationMap.put(type.getName(), annotations[i]);
             }
          }
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

          }

          AnnotationValue[] annotationValues = new AnnotationValue[annotations.length];
          for (int i = 0 ; i < annotations.length ; i++)
          {
             AnnotationInfo info = (AnnotationInfo)getTypeInfo(annotations[i].annotationType());
             annotationValues[i] = createAnnotationValue(info, annotations[i]);
          }
          return annotationValues;
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

          for (int param = 0 ; param < annotations.length ; param++)
          {
             annotationValues[param] = new AnnotationValue[annotations[param].length];
             for (int ann = 0 ; ann < annotations[param].length ; ann++)
             {
                AnnotationInfo info = (AnnotationInfo)getTypeInfo(annotations[param][ann].annotationType());
                annotationValues[param][ann] = createAnnotationValue(info, annotations[param][ann]);
             }
          }
          return annotationValues;
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

             AnnotationValue[] annotationValues = new AnnotationValueImpl[annotations.length];
             for (int i = 0 ; i < annotations.length ; i++)
             {
                Class<?> clazz = ((Annotation)annotations[i]).annotationType();
               
                AnnotationInfo info = (AnnotationInfo)getTypeInfo(clazz);
                annotationValues[i] = AnnotationValueFactory.createAnnotationValue(this, this, info, annotations[i]);
             }
             return annotationValues;
          }
    //      catch (ClassNotFoundException e)
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

          }

          AnnotationValue[] annotationValues = new AnnotationValue[annotations.length];
          for (int i = 0 ; i < annotations.length ; i++)
          {
             AnnotationInfo info = (AnnotationInfo)getTypeInfo(annotations[i].annotationType());
             annotationValues[i] = createAnnotationValue(info, annotations[i]);
          }
          return annotationValues;
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

          for (int param = 0 ; param < annotations.length ; param++)
          {
             annotationValues[param] = new AnnotationValue[annotations[param].length];
             for (int ann = 0 ; ann < annotations[param].length ; ann++)
             {
                AnnotationInfo info = (AnnotationInfo)getTypeInfo(annotations[param][ann].annotationType());
                annotationValues[param][ann] = createAnnotationValue(info, annotations[param][ann]);
             }
          }
          return annotationValues;
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

          }
       }

       private void getDependenciesForMetaDataAnnotation(Object annotation, HashMap<String, ArrayList<String>> dependencies) throws Exception
       {
          AnnotationInfo info;
          Class<?> clazz = annotation.getClass().getInterfaces()[0];
          try
          {
             info = (AnnotationInfo)helper.getTypeInfo(clazz);
          }
          catch (RuntimeException e)
          {
             // AutoGenerated
             throw new RuntimeException("Error creating annotation for " + clazz.getName(), e);
          }
          AnnotationValue value = AnnotationValueFactory.createAnnotationValue(helper, helper, info, annotation);
          getDependenciesForAnnotation(info.getName(), value, dependencies);
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

             AnnotationValue[] annotationValues = new AnnotationValueImpl[annotations.length];
             for (int i = 0 ; i < annotations.length ; i++)
             {
                Class<?> clazz = ((Annotation)annotations[i]).annotationType();
               
                AnnotationInfo info = (AnnotationInfo)getTypeInfo(clazz);
                annotationValues[i] = AnnotationValueFactory.createAnnotationValue(this, this, info, annotations[i]);
             }
             return annotationValues;
          }
    //      catch (ClassNotFoundException e)
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

             AnnotationValue[] annotationValues = new AnnotationValue[annotations[param].length];
             for (int ann = 0 ; ann < annotationValues.length ; ann++)
             {
                Class<?> clazz = ((Annotation)annotations[param][ann]).annotationType();

                AnnotationInfo info = (AnnotationInfo)((JavassistTypeInfoFactoryImpl)annotationHelper).getTypeInfo(clazz);
                annotationValues[ann] = annotationHelper.createAnnotationValue(info, annotations[param][ann]);
             }
             ((JavassistParameterInfo)parameters[param]).setAnnotations(annotationValues);
          }
       }
    View Full Code Here

    Examples of org.jboss.reflect.spi.AnnotationInfo

          {
             this.annotationsArray = annotations;
             annotationMap = new HashMap<String, AnnotationValue>();
             for (int i = 0; i < annotations.length; i++)
             {
                AnnotationInfo type = annotations[i].getAnnotationType();
                annotationMap.put(type.getName(), annotations[i]);
             }
          }
       }
    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.