}
@Override
public void exitLocalVariableDeclaration(LocalVariableDeclarationContext ctx) {
String type = null;
TypeContext ty = ctx.getRuleContext(TypeContext.class, 0);
if(ty!=null) {
ClassOrInterfaceTypeContext t = ty.getRuleContext(ClassOrInterfaceTypeContext.class, 0);
if(t!=null) {
type=t.getText();
} else {
PrimitiveTypeContext pt = ty.getRuleContext(PrimitiveTypeContext.class, 0);
if(pt!=null)
type=pt.getText();
}
}
List<VariableDeclaratorsContext> vars = ctx.getRuleContexts(VariableDeclaratorsContext.class);