
com.tickaroo.tikxml.processor.field.Field.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of processor-common Show documentation
Show all versions of processor-common Show documentation
A modern XML API for Android and Java
The newest version!
/*
* Copyright (C) 2015 Hannes Dorfmann
* Copyright (C) 2015 Tickaroo, Inc.
*
* 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 com.tickaroo.tikxml.processor.field
import com.tickaroo.tikxml.processor.field.access.FieldAccessResolver
import javax.lang.model.element.VariableElement
import javax.lang.model.type.TypeMirror
/**
* Represents a java class field that is mapped to xml
* @author Hannes Dorfmann
*/
open class Field(val element: VariableElement) {
open lateinit var accessResolver: FieldAccessResolver
open val typeMirror: TypeMirror
get() = element.asType()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy