equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
81 } |
81 } |
82 } |
82 } |
83 |
83 |
84 public void visitClass(Attribute.Class c) { |
84 public void visitClass(Attribute.Class c) { |
85 value = TypeMaker.getType(env, |
85 value = TypeMaker.getType(env, |
86 env.types.erasure(c.type)); |
86 env.types.erasure(c.classType)); |
87 } |
87 } |
88 |
88 |
89 public void visitEnum(Attribute.Enum e) { |
89 public void visitEnum(Attribute.Enum e) { |
90 value = env.getFieldDoc(e.value); |
90 value = env.getFieldDoc(e.value); |
91 } |
91 } |