aboutsummaryrefslogtreecommitdiffstats
path: root/javaparser-testing/src/test/resources/com/github/javaparser/lexical_preservation_samples/ASimpleClassWithMoreFormatting_step4.java.txt
blob: 646533401262a950a7b06a801f251ca408458dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.github.javaparser.examples;


/**
 * A class with some uncommon formatting, to check the lexical preservation
 */
public class
MyRenamedClass
{

    boolean aField;

    public ASimpleClass(boolean aField)
    {
        this.aField = aField;
    }


    // Some empty lines


    public boolean getAField()
    {
        return aField;
    }
    
    public void setAField(boolean aField) {
        this.aField = aField;
    }
}