|
|
|
The Model-Driven System Builder
|
|
JeeWiz Architect's Guide
|
|
|
|
Contents >
13. 'Java' Reference
|
|
|
13.8 Method Object
| Used on |
|
| Superclass | interfaceMethod |
| Subclassed By |
|
| Description | A method on a class
|
Contained Lists |
|
Inherited properties |
|
13.8.1 Property 'access'
|
| Description | Specifies the access control for the attribute.
The default access is specifically null, so that there is no access control value placed in the code.
This is necessary because the default for the access changes depending on the context.
|
| Type | String |
| Choices |
private (default)
protected
public
|
| Default | \null |
13.8.2 Property 'abstract'
|
| Description | This is the 'abstract' modifier, as used on interfaces, jwclasses and methods.
|
| Type | boolean |
| Default | false |
13.8.3 Property 'static'
|
| Description | This is the 'static' modifier.
|
| Type | boolean |
| Default | false |
13.8.4 Property 'final'
|
| Description | This is the Java 'final' attribute.
There are two methods for reading this out, for use on a field or on a class, because these have different names in CSharp.
The generic 'getFinalText()' is used on parameters in Java.
|
| Type | boolean |
| Default | false |
13.8.5 Property 'synchronized'
|
| Description | This is the Java 'synchronized' modifier for methods. In C#, it will be turned into 'lock' or 'MethodImplOptions.Synchronized' as appropriate.
|
| Type | boolean |
| Default | false |
13.8.6 Property 'native'
|
| Description | This is the Java 'native' modifier for methods. (Becomes 'extern' in C#, probably.)
|
| Type | boolean |
| Default | false |
13.8.7 Property 'text'
|
| Description | The 'text' is the code insert for the body of the method - the text between the '{' and '}' brackets.
If the method has a return value, you should write the return statement too.
|
| Type | String |
13.8.8 Property 'generateLogLevel'
|
| Description | Should be a number for the trace level priority to generate code.
Any lower priority traces will be filtered out at *generate* time.
Most tracing mechanisms, such as log4j, can also filter traces at run-time.
The priorities are
- 1 = Fatal
- 2 = Error
- 4 = Warning
- 6 - Info
- 8 - Debug (Fine)
- 9 - DetailedDebug (Finest)
This is a delegated property.
The default can be set for builds by setting generateLogLevel in the build properties.
|
| Type | String |
| Delegates | true |
Copyright (c) 2001-2008 New Technology/enterprise Ltd.
| |