summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/lang/reflect/GenericSignatureParser.h
blob: 22e443b59de3481b87e83c457328c1f06e0a22a2 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_lang_reflect_GenericSignatureParser__
#define __gnu_java_lang_reflect_GenericSignatureParser__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace lang
      {
        namespace reflect
        {
            class GenericSignatureParser;
        }
      }
    }
  }
}

class gnu::java::lang::reflect::GenericSignatureParser : public ::java::lang::Object
{

public: // actually package-private
  GenericSignatureParser(::java::lang::reflect::GenericDeclaration *, ::java::lang::ClassLoader *, ::java::lang::String *);
  virtual JArray< ::java::lang::reflect::TypeVariable * > * readFormalTypeParameters();
private:
  ::java::lang::reflect::TypeVariable * readFormalTypeParameter();
public: // actually package-private
  virtual ::java::lang::reflect::Type * readFieldTypeSignature();
  virtual ::java::lang::reflect::Type * readClassTypeSignature();
private:
  JArray< ::java::lang::reflect::Type * > * readTypeArguments();
  ::java::lang::reflect::Type * readTypeArgument();
public: // actually package-private
  virtual ::java::lang::reflect::Type * readArrayTypeSignature();
  virtual ::java::lang::reflect::Type * readTypeVariableSignature();
private:
  ::java::lang::String * readIdentifier();
public: // actually package-private
  virtual jchar peekChar();
  virtual jchar readChar();
  virtual void consume(jchar);
  virtual void end();
private:
  ::java::lang::ClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loader;
  ::java::lang::reflect::GenericDeclaration * container;
  ::java::lang::String * signature;
  jint pos;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_lang_reflect_GenericSignatureParser__