+/*
+ * 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 {
boolean isFinal = false;
+ boolean isAbstract = false;
+
public boolean parseModifier(final String string) {
for (final Access access : Access.values())
if (access.name.equals(string)) {
return true;
}
+ if ("abstract".equals(string)) {
+ isAbstract = true;
+ return true;
+ }
+
return false;
}