All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.tree.define.AbstractClassName Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.snapscript.tree.define;

import static org.snapscript.core.ModifierType.ABSTRACT;
import static org.snapscript.core.ModifierType.CLASS;

import org.snapscript.core.scope.Scope;
import org.snapscript.tree.constraint.ClassName;
import org.snapscript.tree.constraint.GenericList;
import org.snapscript.tree.literal.TextLiteral;

public class AbstractClassName extends ClassName {

   public AbstractClassName(TextLiteral literal, GenericList generics) {
      super(literal, generics);
   }
   
   @Override
   public int getModifiers(Scope scope) throws Exception{
      return ABSTRACT.mask | CLASS.mask;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy