fabil.extension
Class ClassDeclExt_c

java.lang.Object
  extended by Ext_c
      extended by fabil.extension.FabILExt_c
          extended by fabil.extension.ClassMemberExt_c
              extended by fabil.extension.ClassDeclExt_c
All Implemented Interfaces:
ClassMemberExt, FabILExt

public class ClassDeclExt_c
extends ClassMemberExt_c


Field Summary
protected  boolean shouldSerializeType
          A flag for determining whether the class's type information should be serialized.
 
Constructor Summary
ClassDeclExt_c()
           
 
Method Summary
 java.util.List<ClassMember> interfaceMember(ProxyRewriter pr, ClassDecl parent)
          Returns the interface translation of the class member.
 ClassDecl node()
           
 Node rewriteProxies(ProxyRewriter pr)
          Returns the interface translation of the class declaration.
 Node rewriteRemoteCalls(RemoteCallRewriter rr)
          Used by RemoteCallRewriter to translate RMIs.
 Node rewriteThreads(ThreadRewriter tr)
          Used by ThreadRewriter to hook Threads into the worker's transaction manager.
 boolean shouldSerializeType()
           
 ClassDeclExt_c shouldSerializeType(boolean shouldSerializeType)
           
 
Methods inherited from class fabil.extension.ClassMemberExt_c
implMember, proxyMember, staticImplInitMember, staticImplMember, staticInterfaceMember, staticProxyMember
 
Methods inherited from class fabil.extension.FabILExt_c
assignLabels, assignLocations, collectStaticInitializers, rewriteAtomic, rewriteProxiesOverride
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fabil.extension.FabILExt
assignLabels, assignLocations, collectStaticInitializers, rewriteAtomic, rewriteProxiesOverride
 

Field Detail

shouldSerializeType

protected boolean shouldSerializeType
A flag for determining whether the class's type information should be serialized.

Constructor Detail

ClassDeclExt_c

public ClassDeclExt_c()
Method Detail

shouldSerializeType

public boolean shouldSerializeType()

shouldSerializeType

public ClassDeclExt_c shouldSerializeType(boolean shouldSerializeType)

rewriteProxies

public Node rewriteProxies(ProxyRewriter pr)
Returns the interface translation of the class declaration.

Specified by:
rewriteProxies in interface FabILExt
Overrides:
rewriteProxies in class FabILExt_c
See Also:
FabILExt_c.rewriteProxies(fabil.visit.ProxyRewriter)

interfaceMember

public java.util.List<ClassMember> interfaceMember(ProxyRewriter pr,
                                                   ClassDecl parent)
Description copied from interface: ClassMemberExt
Returns the interface translation of the class member. The result is a list of class members to be included in the interface.

Specified by:
interfaceMember in interface ClassMemberExt
Overrides:
interfaceMember in class ClassMemberExt_c

rewriteThreads

public Node rewriteThreads(ThreadRewriter tr)
Description copied from interface: FabILExt
Used by ThreadRewriter to hook Threads into the worker's transaction manager.

Specified by:
rewriteThreads in interface FabILExt
Overrides:
rewriteThreads in class FabILExt_c

rewriteRemoteCalls

public Node rewriteRemoteCalls(RemoteCallRewriter rr)
Description copied from interface: FabILExt
Used by RemoteCallRewriter to translate RMIs.

Specified by:
rewriteRemoteCalls in interface FabILExt
Overrides:
rewriteRemoteCalls in class FabILExt_c

node

public ClassDecl node()