bugfix
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Fri, 13 Sep 2013 15:12:04 +0000 (18:12 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Fri, 13 Sep 2013 15:12:04 +0000 (18:12 +0300)
.classpath
.gitignore
.project
.settings/org.eclipse.jdt.core.prefs
src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java

index 5adac7b..e4af868 100644 (file)
@@ -14,6 +14,7 @@
        <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
                <attributes>
                        <attribute name="maven.pomderived" value="true"/>
+                       <attribute name="org.eclipse.jst.component.nondependency" value=""/>
                </attributes>
        </classpathentry>
        <classpathentry kind="src" output="target/test-classes" path="src/test/java">
index 2f7896d..6874e1e 100644 (file)
@@ -1 +1,3 @@
+/.settings/org.eclipse.wst.common.component
+/.settings/org.eclipse.wst.common.project.facet.core.xml
 target/
index 9a24d02..56ca015 100644 (file)
--- a/.project
+++ b/.project
@@ -5,6 +5,11 @@
        <projects>
        </projects>
        <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.wst.common.project.facet.core.builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        <arguments>
                        </arguments>
                </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.wst.validation.validationbuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
        </buildSpec>
        <natures>
+               <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+               <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
                <nature>org.eclipse.m2e.core.maven2Nature</nature>
                <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
        </natures>
 </projectDescription>
index 60105c1..69c31cd 100644 (file)
@@ -1,5 +1,8 @@
 eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
 org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
 org.eclipse.jdt.core.compiler.source=1.6
index 96e0d20..0f12dd4 100644 (file)
@@ -20,6 +20,9 @@ public class Annotation {
                while (true) {
                        final TokenizerMatch token = tokenizer.getNextToken();
 
+                       if (token == null)
+                               return;
+
                        if ("(".equals(token.token))
                                depth++;
                        if (")".equals(token.token))