updated copyright notice
[javainspect.git] / src / main / java / eu / svjatoslav / inspector / java / methods / Modifiers.java
old mode 100644 (file)
new mode 100755 (executable)
index 747d7db..1417d90
@@ -1,3 +1,12 @@
+/*
+ * JavaInspect - Utility to visualize java software
+ * Copyright (C) 2013-2015, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+ */
+
 package eu.svjatoslav.inspector.java.methods;
 
 public class Modifiers {
@@ -19,6 +28,8 @@ public class Modifiers {
 
        boolean isFinal = false;
 
+       boolean isAbstract = false;
+
        public boolean parseModifier(final String string) {
                for (final Access access : Access.values())
                        if (access.name.equals(string)) {
@@ -36,6 +47,11 @@ public class Modifiers {
                        return true;
                }
 
+               if ("abstract".equals(string)) {
+                       isAbstract = true;
+                       return true;
+               }
+
                return false;
        }