EDU.utwente.CoCompose
Class CoCompose

java.lang.Object
  |
  +--EDU.utwente.CoCompose.CoCompose

public class CoCompose
extends java.lang.Object

Main application.

Version:
0.1.21, 6 April 2004
Author:
Dennis Wagelaar

Field Summary
static java.lang.String DATE
          Application date.
static java.lang.String MAJOR_VERSION
          Application major version.
static java.lang.String MINOR_SUFFIX
          Application minor version suffix.
static java.lang.String MINOR_VERSION
          Application minor version.
 
Constructor Summary
CoCompose()
          Constructs the application.
 
Method Summary
static java.lang.String getSuperLanguage(java.lang.String subLanguage)
          Gets the super-language for a target language (e.g.
static boolean isSuperLanguage(java.lang.String subLanguage, java.lang.String superLanguage)
          Checks whether superLanguage is a super-language of subLanguage, whether direct or indirect.
static void main(java.lang.String[] args)
          Main method.
static void setSuperLanguage(java.lang.String subLanguage, java.lang.String superLanguage)
          Sets the super-language for a target language (e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAJOR_VERSION

public static final java.lang.String MAJOR_VERSION
Application major version.

MINOR_VERSION

public static final java.lang.String MINOR_VERSION
Application minor version.

MINOR_SUFFIX

public static final java.lang.String MINOR_SUFFIX
Application minor version suffix.

DATE

public static final java.lang.String DATE
Application date.
Constructor Detail

CoCompose

public CoCompose()
Constructs the application.
Method Detail

main

public static void main(java.lang.String[] args)
Main method.
Parameters:
args - Application arguments array.

setSuperLanguage

public static void setSuperLanguage(java.lang.String subLanguage,
                                    java.lang.String superLanguage)
Sets the super-language for a target language (e.g. AspectJ has Java as super-language).
Parameters:
subLanguage - the language to set a super-language for
superLanguage - the super-language

getSuperLanguage

public static java.lang.String getSuperLanguage(java.lang.String subLanguage)
Gets the super-language for a target language (e.g. AspectJ has Java as super-language).
Parameters:
subLanguage - the language to get a super-language for
Returns:
the super-language or null

isSuperLanguage

public static boolean isSuperLanguage(java.lang.String subLanguage,
                                      java.lang.String superLanguage)
Checks whether superLanguage is a super-language of subLanguage, whether direct or indirect.
Parameters:
subLanguage - the language to check
superLanguage - the super-language to check for
Returns:
True if superLanguage is a super-language of subLanguage