org.codehaus.gmaven.runtime.support.stubgen.parser
Class SourceType
java.lang.Object
org.codehaus.gmaven.runtime.support.stubgen.parser.SourceType
public final class SourceType
- extends Object
Pseudo-enum for Groovy/Java source type.
- Version:
- $Id: SourceType.java 18 2009-07-16 09:39:40Z user57 $
- Author:
- Jason Dillon
GROOVY
public static final SourceType GROOVY
GROOVY_EXT
public static final String GROOVY_EXT
- See Also:
- Constant Field Values
GROOVY_NAME
public static final String GROOVY_NAME
- See Also:
- Constant Field Values
GROOVY_CODE
public static final int GROOVY_CODE
- See Also:
- Constant Field Values
JAVA
public static final SourceType JAVA
JAVA_EXT
public static final String JAVA_EXT
- See Also:
- Constant Field Values
JAVA_NAME
public static final String JAVA_NAME
- See Also:
- Constant Field Values
JAVA_CODE
public static final int JAVA_CODE
- See Also:
- Constant Field Values
SOURCE_TYPE_TAG
public static final String SOURCE_TYPE_TAG
- See Also:
- Constant Field Values
name
public final String name
code
public final int code
toString
public String toString()
- Overrides:
toString
in class Object
forURL
public static SourceType forURL(URL url)
forName
public static SourceType forName(String name)
forCode
public static SourceType forCode(int code)
Copyright © 2006-2012 Codehaus. All Rights Reserved.