public class AstPropertyResolveUtils extends java.lang.Object
Utilities for resolving property names from domain classes etc.
| Modifiers | Name | Description |
|---|---|---|
protected static java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.codehaus.groovy.ast.ClassNode>> |
cachedClassProperties |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static java.util.List<java.lang.String> |
getPropertyNames(org.codehaus.groovy.ast.ClassNode classNode)Resolves the property names for the given class node |
|
public static org.codehaus.groovy.ast.ClassNode |
getPropertyType(org.codehaus.groovy.ast.ClassNode classNode, java.lang.String propertyName)Resolves the type of of the given property |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Resolves the property names for the given class node
classNode - The class nodeResolves the type of of the given property
classNode - The class nodepropertyName - The property