org.sonar.java.api
Class JavaUtils

java.lang.Object
  extended by org.sonar.java.api.JavaUtils

Deprecated. in 4.2. See API provided by Java plugins.

@Deprecated
public final class JavaUtils
extends Object

Since:
2.6

Field Summary
static String BARRIER_AFTER_SQUID
          Deprecated. Sensors executed before this barrier must not rely on index.
static String BARRIER_BEFORE_SQUID
          Deprecated. All sensors executed after this barrier are sure that all Java resources are indexed.
static String DEFAULT_PACKAGE
          Deprecated.  
static String JAVA_SOURCE_DEFAULT_VALUE
          Deprecated. Default value for property JAVA_SOURCE_PROPERTY.
static String JAVA_SOURCE_PROPERTY
          Deprecated. To determine value of this property use getSourceVersion(Project).
static String JAVA_TARGET_DEFAULT_VALUE
          Deprecated. Default value for property JAVA_TARGET_PROPERTY.
static String JAVA_TARGET_PROPERTY
          Deprecated. To determine value of this property use getTargetVersion(Project).
static String PACKAGE_SEPARATOR
          Deprecated.  
 
Method Summary
static String abbreviatePackage(String packageName)
          Deprecated.  
static String getSourceVersion(Project project)
          Deprecated.  
static String getTargetVersion(Project project)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_SEPARATOR

public static final String PACKAGE_SEPARATOR
Deprecated. 
See Also:
Constant Field Values

DEFAULT_PACKAGE

public static final String DEFAULT_PACKAGE
Deprecated. 
See Also:
Constant Field Values

BARRIER_BEFORE_SQUID

public static final String BARRIER_BEFORE_SQUID
Deprecated. 
All sensors executed after this barrier are sure that all Java resources are indexed.

See Also:
Constant Field Values

BARRIER_AFTER_SQUID

public static final String BARRIER_AFTER_SQUID
Deprecated. 
Sensors executed before this barrier must not rely on index. No Java resources are indexed. Value is 'squid' in order to be backward-compatible with Sensor.FLAG_SQUID_ANALYSIS.

See Also:
Constant Field Values

JAVA_SOURCE_PROPERTY

public static final String JAVA_SOURCE_PROPERTY
Deprecated. 
To determine value of this property use getSourceVersion(Project).

See Also:
Constant Field Values

JAVA_SOURCE_DEFAULT_VALUE

public static final String JAVA_SOURCE_DEFAULT_VALUE
Deprecated. 
Default value for property JAVA_SOURCE_PROPERTY.

See Also:
Constant Field Values

JAVA_TARGET_PROPERTY

public static final String JAVA_TARGET_PROPERTY
Deprecated. 
To determine value of this property use getTargetVersion(Project).

See Also:
Constant Field Values

JAVA_TARGET_DEFAULT_VALUE

public static final String JAVA_TARGET_DEFAULT_VALUE
Deprecated. 
Default value for property JAVA_TARGET_PROPERTY.

See Also:
Constant Field Values
Method Detail

abbreviatePackage

public static String abbreviatePackage(String packageName)
Deprecated. 

getSourceVersion

public static String getSourceVersion(Project project)
Deprecated. 

getTargetVersion

public static String getTargetVersion(Project project)
Deprecated. 


Copyright © 2009–2016 SonarSource. All rights reserved.