Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
Class TableMaker.MethodFinisher  view TableMaker.MethodFinisher download TableMaker.MethodFinisher.java

java.lang.Object
  extended bycom.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.DefinitionFinisher
      extended bycom.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.MethodFinisher
Enclosing class:
TableMaker

class TableMaker.MethodFinisher
extends TableMaker.DefinitionFinisher

Completes a Variable by setting all required references


Field Summary
(package private)  MethodDef _def
           
protected  SymTabAST _node
           
 
Constructor Summary
TableMaker.MethodFinisher(Definition def)
          Creates a MethodFinisher from a Definition
 
Method Summary
 void finish()
          Completes a method by setting all references to return types, signatures and exceptions.
protected  IClass getType(Definition def, SymTabAST typeNode)
          gets the classDef that represents the type of the given definition
private  SymTabAST getTypeNode()
          getTypeNode returnss the SymTabAST node that is the return type of this method
private  boolean isConstructor()
          isConstructor sets the flag in the method definition to indicate whether it is a constructor or not
private  void setExceptionsThrown()
          setExceptionsThrown adds a reference to the methods Exceptions to the method definition
private  void setReturnType()
          setReturnType adds a reference to the methods return type to the method definition
private  void setSignature()
          setSignature adds a reference to the methods paramaters to the method definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_def

MethodDef _def

_node

protected SymTabAST _node
Constructor Detail

TableMaker.MethodFinisher

public TableMaker.MethodFinisher(Definition def)
Creates a MethodFinisher from a Definition

Method Detail

finish

public void finish()
Completes a method by setting all references to return types, signatures and exceptions.

Overrides:
finish in class TableMaker.DefinitionFinisher

setReturnType

private void setReturnType()
setReturnType adds a reference to the methods return type to the method definition


setSignature

private void setSignature()
setSignature adds a reference to the methods paramaters to the method definition


setExceptionsThrown

private void setExceptionsThrown()
setExceptionsThrown adds a reference to the methods Exceptions to the method definition


isConstructor

private boolean isConstructor()
isConstructor sets the flag in the method definition to indicate whether it is a constructor or not


getTypeNode

private SymTabAST getTypeNode()
getTypeNode returnss the SymTabAST node that is the return type of this method


getType

protected IClass getType(Definition def,
                         SymTabAST typeNode)
gets the classDef that represents the type of the given definition