maj.semant
Class MajJavaType

java.lang.Object
  extended bymaj.semant.MajType
      extended bymaj.semant.MajJavaType

public class MajJavaType
extends MajType


Field Summary
 
Fields inherited from class maj.semant.MajType
m_nameSpace, m_strName
 
Constructor Summary
MajJavaType(java.lang.String name)
           
 
Method Summary
 MajType[] getAcceptables()
           
 java.lang.Class getClassInstance()
           
 MajType getFieldType(java.lang.String id)
           
 java.lang.String getMajType()
           
 MajType getMethodReturn(java.lang.String name, MajType[] argTypes)
           
 java.lang.String getName()
           
 boolean isEqual(MajType argType)
           
 boolean isPrimitiveType()
           
 boolean isSuperOf(MajType argType)
           
 void setAcceptable(MajType[] types)
           
 java.lang.String toString()
           
 
Methods inherited from class maj.semant.MajType
getFullName, getIdentifier, getLUB, getNameSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MajJavaType

public MajJavaType(java.lang.String name)
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in class MajType

getName

public java.lang.String getName()
Overrides:
getName in class MajType

setAcceptable

public void setAcceptable(MajType[] types)

getAcceptables

public MajType[] getAcceptables()

isEqual

public boolean isEqual(MajType argType)
Specified by:
isEqual in class MajType

getMajType

public java.lang.String getMajType()
Specified by:
getMajType in class MajType

getFieldType

public MajType getFieldType(java.lang.String id)

getMethodReturn

public MajType getMethodReturn(java.lang.String name,
                               MajType[] argTypes)

isSuperOf

public boolean isSuperOf(MajType argType)
Specified by:
isSuperOf in class MajType

getClassInstance

public java.lang.Class getClassInstance()

isPrimitiveType

public boolean isPrimitiveType()
Specified by:
isPrimitiveType in class MajType