Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

DecompilerSwitch Class Reference

Inheritance diagram for DecompilerSwitch:
[legend]
Collaboration diagram for DecompilerSwitch:
[legend]
List of all members.

Public Methods

 DecompilerSwitch ()
void caseBlockStmtAnnotation (BlockStmtAnnotation a)
void caseBreakStmtAnnotation (BreakStmtAnnotation a)
void caseCatchAnnotation (CatchAnnotation a)
void caseClassDeclarationAnnotation (ClassDeclarationAnnotation a)
void caseConstructorDeclarationAnnotation (ConstructorDeclarationAnnotation a)
void caseContinueStmtAnnotation (ContinueStmtAnnotation a)
void caseDoWhileStmtAnnotation (DoWhileStmtAnnotation a)
void caseEmptyStmtAnnotation (EmptyStmtAnnotation a)
void caseExpStmtAnnotation (ExpStmtAnnotation a)
void caseFieldDeclarationAnnotation (FieldDeclarationAnnotation a)
void caseForStmtAnnotation (ForStmtAnnotation a)
void caseIfStmtAnnotation (IfStmtAnnotation a)
void caseInstanceInitializerAnnotation (InstanceInitializerAnnotation a)
void caseLabeledStmtAnnotation (LabeledStmtAnnotation a)
void caseLocalDeclarationStmtAnnotation (LocalDeclarationStmtAnnotation a)
void caseMethodDeclarationAnnotation (MethodDeclarationAnnotation a)
void caseReturnStmtAnnotation (ReturnStmtAnnotation a)
void caseSequentialAnnotation (SequentialAnnotation a)
void caseStaticInitializerAnnotation (StaticInitializerAnnotation a)
void caseSuperConstructorInvocationStmtAnnotation (SuperConstructorInvocationStmtAnnotation a)
void caseSwitchStmtAnnotation (SwitchStmtAnnotation a)
void caseSynchronizedStmtAnnotation (SynchronizedStmtAnnotation a)
void caseThisConstructorInvocationStmtAnnotation (ThisConstructorInvocationStmtAnnotation a)
void caseThrowStmtAnnotation (ThrowStmtAnnotation a)
void caseTryFinallyStmtAnnotation (TryFinallyStmtAnnotation a)
void caseTryStmtAnnotation (TryStmtAnnotation a)
void caseUnimplemented (Annotation a)
void caseWhileStmtAnnotation (WhileStmtAnnotation a)

Static Public Methods

Vector evaluate (Annotation a)
Hashtable getLineToAnnotation ()
void reset ()

Private Methods

void caseBlock (BlockStmtAnnotation a)
void caseSequential (SequentialAnnotation a)
Vector getResult ()
Hashtable getTable ()
void switchPartialDecompilation (int fromPos, int toPos, Stmt[] testStmt, Hashtable annToValue, Hashtable definedVars)

Private Attributes

Vector result = new Vector()
Hashtable lineToAnnotation = new Hashtable()

Static Private Attributes

DecompilerSwitch walker = new DecompilerSwitch()
int tempCounter = 0

Detailed Description

DecompilerSwitch is a recursive analyzer for annotations. The methods are basically each case possible for annotations. Inside annotations, we have statements, which is recursively handled by DecompilerStmtSwitch. Inside each statement, we can have several value chunks, which is recursively handled by DecompilerValueSwitch.
Author:
Roby Joehanes
Version:
0.4.21

Definition at line 57 of file DecompilerSwitch.java.


Member Function Documentation

void DecompilerSwitch::caseBlockStmtAnnotation BlockStmtAnnotation   a [inline]
 

caseBlockStmtAnnotation method comment.

Definition at line 77 of file DecompilerSwitch.java.

void DecompilerSwitch::caseBreakStmtAnnotation BreakStmtAnnotation   a [inline]
 

caseBreakStmtAnnotation method comment.

Definition at line 85 of file DecompilerSwitch.java.

void DecompilerSwitch::caseCatchAnnotation CatchAnnotation   a [inline]
 

caseCatchAnnotation method comment.

Definition at line 92 of file DecompilerSwitch.java.

void DecompilerSwitch::caseClassDeclarationAnnotation ClassDeclarationAnnotation   a [inline]
 

caseClassDeclarationAnnotation method comment.

Definition at line 123 of file DecompilerSwitch.java.

void DecompilerSwitch::caseConstructorDeclarationAnnotation ConstructorDeclarationAnnotation   a [inline]
 

caseConstructorDeclarationAnnotation method comment.

Definition at line 130 of file DecompilerSwitch.java.

void DecompilerSwitch::caseContinueStmtAnnotation ContinueStmtAnnotation   a [inline]
 

caseContinueStmtAnnotation method comment.

Definition at line 181 of file DecompilerSwitch.java.

void DecompilerSwitch::caseDoWhileStmtAnnotation DoWhileStmtAnnotation   a [inline]
 

caseDoWhileStmtAnnotation method comment.

Definition at line 191 of file DecompilerSwitch.java.

void DecompilerSwitch::caseEmptyStmtAnnotation EmptyStmtAnnotation   a [inline]
 

caseEmptyStmtAnnotation method comment.

Definition at line 209 of file DecompilerSwitch.java.

void DecompilerSwitch::caseExpStmtAnnotation ExpStmtAnnotation   a [inline]
 

caseExpStmtAnnotation method comment.

Definition at line 216 of file DecompilerSwitch.java.

void DecompilerSwitch::caseFieldDeclarationAnnotation FieldDeclarationAnnotation   a [inline]
 

caseFieldDeclarationAnnotation method comment.

Definition at line 223 of file DecompilerSwitch.java.

void DecompilerSwitch::caseForStmtAnnotation ForStmtAnnotation   a [inline]
 

caseForStmtAnnotation method comment.

Definition at line 232 of file DecompilerSwitch.java.

void DecompilerSwitch::caseIfStmtAnnotation IfStmtAnnotation   a [inline]
 

caseIfStmtAnnotation method comment.

Definition at line 318 of file DecompilerSwitch.java.

void DecompilerSwitch::caseInstanceInitializerAnnotation InstanceInitializerAnnotation   a [inline]
 

caseInstanceInitializerAnnotation method comment.

Definition at line 361 of file DecompilerSwitch.java.

void DecompilerSwitch::caseLabeledStmtAnnotation LabeledStmtAnnotation   a [inline]
 

caseLabeledStmtAnnotation method comment.

Definition at line 369 of file DecompilerSwitch.java.

void DecompilerSwitch::caseLocalDeclarationStmtAnnotation LocalDeclarationStmtAnnotation   a [inline]
 

caseLocalDeclarationStmtAnnotation method comment.

Definition at line 377 of file DecompilerSwitch.java.

void DecompilerSwitch::caseMethodDeclarationAnnotation MethodDeclarationAnnotation   a [inline]
 

caseMethodDeclarationAnnotation method comment.

Definition at line 468 of file DecompilerSwitch.java.

void DecompilerSwitch::caseReturnStmtAnnotation ReturnStmtAnnotation   a [inline]
 

caseReturnStmtAnnotation method comment.

Definition at line 498 of file DecompilerSwitch.java.

void DecompilerSwitch::caseSequentialAnnotation SequentialAnnotation   a [inline]
 

caseSequentialAnnotation method comment.

Definition at line 513 of file DecompilerSwitch.java.

void DecompilerSwitch::caseStaticInitializerAnnotation StaticInitializerAnnotation   a [inline]
 

caseStaticInitializerAnnotation method comment.

Definition at line 521 of file DecompilerSwitch.java.

void DecompilerSwitch::caseSuperConstructorInvocationStmtAnnotation SuperConstructorInvocationStmtAnnotation   a [inline]
 

caseSuperConstructorInvocationStmtAnnotation method comment.

Definition at line 529 of file DecompilerSwitch.java.

void DecompilerSwitch::caseSwitchStmtAnnotation SwitchStmtAnnotation   a [inline]
 

caseSwitchStmtAnnotation method comment.

Definition at line 537 of file DecompilerSwitch.java.

void DecompilerSwitch::caseSynchronizedStmtAnnotation SynchronizedStmtAnnotation   a [inline]
 

caseSynchronizedStmtAnnotation method comment.

Definition at line 681 of file DecompilerSwitch.java.

void DecompilerSwitch::caseThisConstructorInvocationStmtAnnotation ThisConstructorInvocationStmtAnnotation   a [inline]
 

caseThisConstructorInvocationStmtAnnotation method comment.

Definition at line 709 of file DecompilerSwitch.java.

void DecompilerSwitch::caseThrowStmtAnnotation ThrowStmtAnnotation   a [inline]
 

caseThrowStmtAnnotation method comment.

Definition at line 717 of file DecompilerSwitch.java.

void DecompilerSwitch::caseTryFinallyStmtAnnotation TryFinallyStmtAnnotation   a [inline]
 

caseTryFinallyStmtAnnotation method comment.

Definition at line 725 of file DecompilerSwitch.java.

void DecompilerSwitch::caseTryStmtAnnotation TryStmtAnnotation   a [inline]
 

caseTryStmtAnnotation method comment.

Definition at line 737 of file DecompilerSwitch.java.

void DecompilerSwitch::caseWhileStmtAnnotation WhileStmtAnnotation   a [inline]
 

caseWhileStmtAnnotation method comment.

Definition at line 766 of file DecompilerSwitch.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:08:50 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001