public class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDeploymentUnitId(DeploymentUnit deploymentUnit) |
static DeploymentUnit |
getRootDeploymentUnit(DeploymentUnit deploymentUnit)
Returns the parent of the given deployment unit if such a parent exists.
|
static boolean |
isClassesRoot(ResourceRoot resourceRoot) |
static boolean |
isComponentWithView(ComponentDescription component) |
public static boolean isClassesRoot(ResourceRoot resourceRoot)
public static DeploymentUnit getRootDeploymentUnit(DeploymentUnit deploymentUnit)
public static String getDeploymentUnitId(DeploymentUnit deploymentUnit)
public static boolean isComponentWithView(ComponentDescription component)
Copyright © 2015 JBoss by Red Hat. All rights reserved.