astra.ast.core.IJavaHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of astra-compiler Show documentation
Show all versions of astra-compiler Show documentation
Core compiler artifact for the ASTRA Language
package astra.ast.core;
import java.util.List;
import astra.ast.element.PackageElement;
import astra.ast.formula.MethodSignature;
public interface IJavaHelper {
public static final int ACTION = 0;
public static final int TERM = 1;
public static final int FORMULA = 2;
public static final int SENSOR = 3;
public static final int EVENT = 4;
public String resolveModule(String className);
public void setup(PackageElement packageElement, ImportElement[] importElements);
public IType getType(String module, MethodSignature signature);
public String getFullClassName(String className);
public ASTRAClassElement loadAST(String clazz) throws ParseException;
public boolean validate(String moduleClass, MethodSignature signature);
public boolean isInline(String qualifiedName, MethodSignature signature);
public List getSensors(String name);
public IJavaHelper spawn();
public BuildContext getBuildContext();
public boolean getEventSymbols(String className, MethodSignature signature, String symbol);
public boolean hasAutoAction(String className);
public boolean hasTRAutoAction(String className);
public boolean hasAutoFormula(String className);
public boolean suppressAutoActionNotifications(String className);
long lastModified(String clazz, String type);
public void createTarget(ASTRAClassElement element, String string);
public String getQualifiedName(String parent, String packageName, ImportElement[] imports);
}