summaryrefslogtreecommitdiff
path: root/core/java12/com/vladium/jcd/cls/constant/ICONSTANTVisitor.java
blob: c6f0d220272cdf568531fcf313b77d4b3c4f5e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
 * 
 * This program and the accompanying materials are made available under
 * the terms of the Common Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/cpl-v10.html
 * 
 * $Id: ICONSTANTVisitor.java,v 1.1.1.1 2004/05/09 16:57:49 vlad_r Exp $
 */
package com.vladium.jcd.cls.constant;

// ----------------------------------------------------------------------------
/**
 * @author (C) 2001, Vlad Roubtsov
 */
public
interface ICONSTANTVisitor
{
    // public: ................................................................
    
    //Object visit (CONSTANT_info constant, Object ctx);
    
    Object visit (CONSTANT_Class_info constant, Object ctx);
    
    Object visit (CONSTANT_InterfaceMethodref_info constant, Object ctx);
    Object visit (CONSTANT_Methodref_info constant, Object ctx);
    Object visit (CONSTANT_Fieldref_info constant, Object ctx);

    Object visit (CONSTANT_Double_info constant, Object ctx);
    Object visit (CONSTANT_Float_info constant, Object ctx);
    Object visit (CONSTANT_Integer_info constant, Object ctx);
    Object visit (CONSTANT_Long_info constant, Object ctx);
    Object visit (CONSTANT_String_info constant, Object ctx);

    Object visit (CONSTANT_Utf8_info constant, Object ctx);
    Object visit (CONSTANT_NameAndType_info constant, Object ctx);

} // end of interface
// ----------------------------------------------------------------------------