~ubuntu-branches/ubuntu/wily/aspectj/wily-proposed

« back to all changes in this revision

Viewing changes to org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/NoTypePattern.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2011-03-15 23:54:31 UTC
  • mfrom: (1.2.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110315235431-iq2gxbsx08kpwuiw
* New upstream release.
* Updated Standards-Version to 3.9.1 (no changes needed).
* Fix local Javadoc links:
  - d/patches/07_javadoc_links.diff: Use locally installed
   javadoc packages and hyperlink with them.
  - d/control: Add B-D on default-java-doc and libasm3-java-doc.
* d/control: Drop B-D on itself (our new bootstrap infrastructure doesn't need
  that anymore).
* Split packages into :
  - aspectj: only contains CLI tools.
  - libaspectj-java: JAR librairies for /usr/share/java.
  - libaspectj-java-doc: 4 API's Javadoc.
  - aspectj-doc: Programming Guides and SDK Documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************
 
2
 * Copyright (c) 2010 Contributors. All rights reserved. 
 
3
 * This program and the accompanying materials are made available 
 
4
 * under the terms of the Eclipse Public License v1.0 
 
5
 * which accompanies this distribution and is available at 
 
6
 * http://eclipse.org/legal/epl-v10.html 
 
7
 *  
 
8
 * Contributors: Nieraj Singh - initial implementation
 
9
 *******************************************************************/
 
10
package org.aspectj.org.eclipse.jdt.core.dom;
 
11
 
 
12
import java.util.List;
 
13
 
 
14
public class NoTypePattern extends TypePattern {
 
15
 
 
16
        NoTypePattern(AST ast) {
 
17
                super(ast);
 
18
        }
 
19
 
 
20
        List<?> internalStructuralPropertiesForType(int apiLevel) {
 
21
                return null;
 
22
        }
 
23
 
 
24
        public boolean isStar() {
 
25
                return false;
 
26
        }
 
27
 
 
28
        ASTNode clone0(AST target) {
 
29
                ASTNode node = new NoTypePattern(target);
 
30
                node.setSourceRange(getStartPosition(), getLength());
 
31
                return node;
 
32
        }
 
33
        
 
34
        void accept0(ASTVisitor visitor) {
 
35
                if (visitor instanceof AjASTVisitor) {
 
36
                        AjASTVisitor ajVisitor = (AjASTVisitor) visitor;
 
37
                        ajVisitor.visit(this);
 
38
                        ajVisitor.endVisit(this);
 
39
                }
 
40
        }
 
41
        
 
42
        boolean subtreeMatch0(ASTMatcher matcher, Object other) {
 
43
                if (matcher instanceof AjASTMatcher) {
 
44
                        AjASTMatcher ajmatcher = (AjASTMatcher) matcher;
 
45
                        return ajmatcher.match(this, other);
 
46
                }
 
47
                return false;
 
48
        }
 
49
 
 
50
}