KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > core > SourceAnnotationMethodInfo


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.core;
12
13 /*
14  * Element info for annotation method from source.
15  */

16 public class SourceAnnotationMethodInfo extends SourceMethodInfo {
17
18     /*
19      * The positions of a default member value of an annotation method.
20      * These are {-1, -1} if the method is an annotation method with no default value.
21      * Otherwise these are the start and end (inclusive) of the expression representing the default value.
22      */

23  public int defaultValueStart;
24  public int defaultValueEnd;
25
26     public boolean isAnnotationMethod() {
27         return true;
28     }
29     
30 }
31
Popular Tags