/*
 * Copyright 2008 the original author or authors.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package source

/**
 * Source file for testing
 *
 * @author Chris Mair
 * @version $Revision$ - $Date$
 */
class SourceFile2 {

}
/*
 * Copyright 2008 the original author or authors.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package source

/**
 * Source file for testing
 *
 * @author Chris Mair
 * @version $Revision$ - $Date$
 */
class SourceFile2 {
    static final METHOD_NAME = 'calculateValue'
    static someVariable = "${METHOD_NAME}"()            // GString method name
    static otherVariable = "calculateValue"()           // String method name

    static String calculateValue() { 23 }
}
Include example of String and GString method names in test files
Include example of String and GString method names in test files

git-svn-id: a6aae24af195bd83d14362654b88bb3939785958@107 58125288-d6d3-43b3-b1ee-2f4d32c6bf4a
