Package org.eclipse.xtext.common.types

Examples of org.eclipse.xtext.common.types.JvmAnnotationType


      if (type instanceof JvmAnnotationType) {
        _matched=true;
        EList<JvmAnnotationReference> _annotations = ((JvmAnnotationType)type).getAnnotations();
        final Function1<JvmAnnotationReference, Boolean> _function = new Function1<JvmAnnotationReference, Boolean>() {
          public Boolean apply(final JvmAnnotationReference it) {
            JvmAnnotationType _annotation = it.getAnnotation();
            return Boolean.valueOf(GuiceModulesValidator.this._typeReferences.is(_annotation, BindingAnnotation.class));
          }
        };
        boolean _exists = IterableExtensions.<JvmAnnotationReference>exists(_annotations, _function);
        boolean _not = (!_exists);
View Full Code Here


  private TypesFactory _typesFactory;
 
  public boolean toAnnotationStringValues(final EObject context, final JvmAnnotationReference annotation, final String valueName, final String... values) {
    boolean _xblockexpression = false;
    {
      JvmAnnotationType _annotation = annotation.getAnnotation();
      EList<JvmMember> _members = _annotation.getMembers();
      Iterable<JvmOperation> _filter = Iterables.<JvmOperation>filter(_members, JvmOperation.class);
      final Function1<JvmOperation,Boolean> _function = new Function1<JvmOperation,Boolean>() {
        public Boolean apply(final JvmOperation it) {
          String _simpleName = it.getSimpleName();
          boolean _equals = Objects.equal(_simpleName, valueName);
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.common.types.JvmAnnotationType

Copyright © 2018 www.massapicom. 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.